Constructs and instance holding the lock to read/write mutex m.
Definition at line 565 of file QThread.h. 00566 : flags(_flags|IsRWMutex|(write ? IsRWMutexWrite : 0)), locklost(false) 00567 { 00568 rwmutex=const_cast<QRWMutex *>(m); 00569 if((flags & AcceptNullMutex) && !rwmutex) return; 00570 locklost=rwmutex->lock(!!(flags & IsRWMutexWrite)); 00571 flags|=IsLocked; 00572 }
|