Searched defs:m_hRWSem (Results 1 - 1 of 1) sorted by relevance

/vbox/include/iprt/cpp/
H A Dmtlist.h43 RTCListGuard() : m_hRWSem(NIL_RTSEMRW)
49 rc = RTSemRWCreateEx(&m_hRWSem, 0 /*fFlags*/, hClass, RTLOCKVAL_SUB_CLASS_NONE, NULL /*pszNameFmt*/);
52 int rc = RTSemRWCreateEx(&m_hRWSem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, 0, NULL);
59 RTSemRWDestroy(m_hRWSem);
60 m_hRWSem = NIL_RTSEMRW;
63 inline void enterRead() const { int rc = RTSemRWRequestRead(m_hRWSem, RT_INDEFINITE_WAIT); AssertRC(rc); }
64 inline void leaveRead() const { int rc = RTSemRWReleaseRead(m_hRWSem); AssertRC(rc); }
65 inline void enterWrite() { int rc = RTSemRWRequestWrite(m_hRWSem, RT_INDEFINITE_WAIT); AssertRC(rc); }
66 inline void leaveWrite() { int rc = RTSemRWReleaseWrite(m_hRWSem); AssertRC(rc); }
72 mutable RTSEMRW m_hRWSem; member in class:RTCListGuard
[all...]

Completed in 30 milliseconds