Constructs an instance holding the lock to mutex m.
Definition at line 548 of file QThread.h. 00549 : flags(_flags), locklost(false) 00550 { 00551 mutex=const_cast<QMutex *>(m); 00552 if((flags & AcceptNullMutex) && !mutex) return; 00553 if(flags & UnlockAndRelock) mutex->unlock(); else mutex->lock(); 00554 flags|=IsLocked; 00555 }
|