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

uint32_t util::WriteLockHandle::writeLockLevel (  )  const [virtual]

Returns the current write lock level of this semaphore. The lock level determines the number of nested lock() calls on the given semaphore handle.

Note that this call is valid only when the current thread owns a write lock on the given semaphore handle and will assert otherwise.

Implements util::LockHandle.

Definition at line 285 of file AutoLock.cpp.

    return RTCritSectGetRecursion(&m->sem);

Generated by  Doxygen 1.6.0   Back to index