MCPcopy Create free account
hub / github.com/cpputest/cpputest / ScopedMutexLock

Method ScopedMutexLock

src/CppUTest/SimpleMutex.cpp:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52ScopedMutexLock::ScopedMutexLock(SimpleMutex *mtx) :
53 mutex(mtx)
54{
55 mutex->Lock();
56}
57
58ScopedMutexLock::~ScopedMutexLock()
59{

Callers

nothing calls this directly

Calls 1

LockMethod · 0.80

Tested by

no test coverage detected