Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

bool AutoWriteLock::isWriteLockOnCurrentThread (  )  const

Returns true if the current thread holds a write lock on the managed read/write semaphore. Returns false if the managed semaphore is NULL.

Intended for debugging only.

Definition at line 673 of file AutoLock.cpp.

    return m->aHandles[0] ? m->aHandles[0]->isWriteLockOnCurrentThread() : false;

Generated by  Doxygen 1.6.0   Back to index