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

bool util::WriteLockHandle::isWriteLockOnCurrentThread (  )  const [virtual]

Returns true if the current thread holds a write lock on this read/write semaphore. Intended for debugging only.

Implements util::LockHandle.

Definition at line 256 of file AutoLock.cpp.

Referenced by WebServiceSession::findRefFromPtr(), WebServiceSession::findSessionFromRef(), ManagedObjectRef::ManagedObjectRef(), WebServiceSession::WebServiceSession(), ManagedObjectRef::~ManagedObjectRef(), and WebServiceSession::~WebServiceSession().

    return RTCritSectIsOwner(&m->sem);

Generated by  Doxygen 1.6.0   Back to index