Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
template <typename Type>
28
static void DestroyWithLockHolding()
29
{
30
Type mutex;
31
mutex.Lock();
32
}
33
34
TEST(MutexDeathTest, DestroyCheck)
35
{
Callers
nothing calls this directly
Calls
1
Lock
Method · 0.45
Tested by
no test coverage detected