Constructs an instance holding the lock to mutex m.
Definition at line 582 of file QThread.h. 00583 : flags(_flags|IsShrdMutex), locklost(false) 00584 { 00585 shrdmutex=const_cast<QShrdMemMutex *>(m); 00586 if((flags & AcceptNullMutex) && !shrdmutex) return; 00587 if(flags & UnlockAndRelock) shrdmutex->unlock(); else shrdmutex->lock(); 00588 flags|=IsLocked; 00589 }
|