tango.core.sync.Mutex.tryLock

Jason House jason.james.house at gmail.com
Sat Jul 28 16:58:54 PDT 2007


tryLock does not seem to work as I expected.  I thought it returns if it 
was successful or not.  What could possibly cause the code below to 
fail?  I'm using linux.

myMutex.tryLock();
assert(myMutex.tryLock() == false); // fails


More information about the Digitalmars-d-learn mailing list