Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ TEST
Function
TEST
system/threading/thread_test.cpp:20–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
TEST(Thread, Construct)
21
{
22
int n = 0;
23
Thread thread(std::bind(ThreadCallback, &n));
24
thread.Join();
25
EXPECT_EQ(1, n);
26
}
27
28
TEST(Thread, Start)
29
{
Callers
nothing calls this directly
Calls
6
Join
Method · 0.45
Start
Method · 0.45
GetId
Method · 0.45
IsAlive
Method · 0.45
Detach
Method · 0.45
IsJoinable
Method · 0.45
Tested by
no test coverage detected