HTCondor Project List Archives



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-devel] condor and a threaded library



On Tue January 29 2008, Matthew Farrellee wrote:
> does anyone know of a current reason why a condor daemon could not be
> linked with a library that creates and manages its own threads? if so,
> what is it?

Most of Condor isn't thread safe -- we've made no effort to keep the code 
thread safe (lots of static data, etc).  If any of these threads interacts 
with Condor in any way, the results will likely be bad.  Similar to the 2nd 
commandment: "2 Thou shalt not follow the NULL pointer, for chaos and madness 
await thee at its end."

-Nick

-- 
           <<< Knock, knock, Neo. >>>
 /`-_    Nicholas R. LeRoy               The Condor Project
{     }/ http://www.cs.wisc.edu/~nleroy  http://www.cs.wisc.edu/condor
 \    /  nleroy@xxxxxxxxxxx              The University of Wisconsin
 |_*_|   608-265-5761                    Department of Computer Sciences