Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LouisBrunner/valgrind-macos
/ thread_func
Function
thread_func
drd/tests/monitor_example.cpp:211–218 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
209
210
211
static void* thread_func(void*)
212
{
213
s_sv.wait(1);
214
s_sv.set(2);
215
s_sv.wait(3);
216
s_sv.set(4);
217
return 0;
218
}
219
220
int main(int, char**)
221
{
Callers
nothing calls this directly
Calls
2
wait
Method · 0.45
set
Method · 0.45
Tested by
no test coverage detected