MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / Pop

Method Pop

Include/XnThreadSafeQueue.h:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 XnStatus Pop(XnValue& value)
70 {
71 XnStatus nRetVal = XN_STATUS_OK;
72
73 nRetVal = xnOSEnterCriticalSection(&m_hLock);
74 XN_IS_STATUS_OK(nRetVal);
75
76 nRetVal = XnQueue::Pop(value);
77 xnOSLeaveCriticalSection(&m_hLock);
78
79 return nRetVal;
80 }
81
82 XnUInt32 Size() const
83 {

Callers

nothing calls this directly

Calls 3

PopFunction · 0.70
xnOSEnterCriticalSectionFunction · 0.50
xnOSLeaveCriticalSectionFunction · 0.50

Tested by

no test coverage detected