Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ TEST
Function
TEST
system/threading/semaphore_test.cpp:76–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
}
75
76
TEST(NamedSemaphore, DefaultCtorDeathTest)
77
{
78
NamedSemaphore semaphore;
79
EXPECT_DEATH(semaphore.Acquire(),
""
);
80
}
81
82
TEST(NamedSemaphore, OpenCreateClose)
83
{
Callers
nothing calls this directly
Calls
5
OpenOrCreate
Method · 0.80
Acquire
Method · 0.45
Close
Method · 0.45
Open
Method · 0.45
Create
Method · 0.45
Tested by
no test coverage detected