HTCondor Project List Archives



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

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



Dan Bradley wrote:

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.

Yes, GCB. Do you know if --wrap to the linker means that wrapping /only/ occurs once at link time or if it can occur at dynamic link time when a process is started?

Best,


matt