MCPcopy Create free account
hub / github.com/chen3feng/toft / RecursiveLocking

Function RecursiveLocking

system/threading/mutex_test.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename Type>
46void RecursiveLocking()
47{
48 Type mutex;
49 mutex.Lock();
50 mutex.Lock();
51 mutex.Unlock();
52 mutex.Unlock();
53}
54
55
56TEST(MutexDeathTest, SelfDeadLock)

Callers

nothing calls this directly

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected