MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / condition_variable

Method condition_variable

src/tinythread/tinythread.cpp:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56#if defined(_TTHREAD_WIN32_)
57condition_variable::condition_variable() : mWaitersCount(0)
58{
59 mEvents[_CONDITION_EVENT_ONE] = CreateEvent(NULL, FALSE, FALSE, NULL);
60 mEvents[_CONDITION_EVENT_ALL] = CreateEvent(NULL, TRUE, FALSE, NULL);
61 InitializeCriticalSection(&mWaitersCountLock);
62}
63#endif
64
65#if defined(_TTHREAD_WIN32_)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected