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

Function DestroyWithLockHolding

system/threading/mutex_test.cpp:28–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <typename Type>
28static void DestroyWithLockHolding()
29{
30 Type mutex;
31 mutex.Lock();
32}
33
34TEST(MutexDeathTest, DestroyCheck)
35{

Callers

nothing calls this directly

Calls 1

LockMethod · 0.45

Tested by

no test coverage detected