Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LouisBrunner/valgrind-macos
/ thread_func
Function
thread_func
drd/tests/boost_thread.cpp:15–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
14
15
static void thread_func(void)
16
{
17
std::cerr <<
"Thread 2.\n"
;
18
boost::mutex::scoped_lock sl(s_m);
19
s_cva.notify_all();
20
s_cva.wait(sl);
21
}
22
23
int main(int argc, char** argv)
24
{
Callers
nothing calls this directly
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected