MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ~mutex

Function ~mutex

src/tinythread/tinythread.h:177–184  ·  view source on GitHub ↗

Destructor.

Source from the content-addressed store, hash-verified

175
176 /// Destructor.
177 ~mutex()
178 {
179#if defined(_TTHREAD_WIN32_)
180 DeleteCriticalSection(&mHandle);
181#else
182 pthread_mutex_destroy(&mHandle);
183#endif
184 }
185
186 /// Lock the mutex.
187 /// The method will block the calling thread until a lock on the mutex can

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected