HTCondor Project List Archives



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

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





Erik Paulson wrote:

We've been burned time and time again by threads on Windows, even though we were convinced that they don't interact with Condor code, and lo, it turns
out we still crash because of race condidtions. It just doesn't seem worth it.
Yep. And for that reason, since 6.9.5, the Windows version of Create_Thread() no longer creates a thread (the name should probably be changed!). It just creates a timer which will call the desired function in a blocking call.

For code that never calls into the Condor code, I would expect threading to work, given the caveats pointed out by Greg. The GCB client library might also cause some trouble.

--Dan