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

Method ~lock_guard

src/tinythread/tinythread.h:359–363  ·  view source on GitHub ↗

The destructor unlocks the mutex.

Source from the content-addressed store, hash-verified

357
358 /// The destructor unlocks the mutex.
359 ~lock_guard()
360 {
361 if(mMutex)
362 mMutex->unlock();
363 }
364
365 private:
366 mutex_type * mMutex;

Callers

nothing calls this directly

Calls 1

unlockMethod · 0.80

Tested by

no test coverage detected