Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ SemaphoreThread
Function
SemaphoreThread
src/test/thread_test.cpp:69–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
}
68
69
static void SemaphoreThread(void *pUser)
70
{
71
SEMAPHORE *pSemaphore = (SEMAPHORE *)pUser;
72
sphore_wait(pSemaphore);
73
}
74
75
TEST(Thread, SemaphoreMultiThreaded)
76
{
Callers
nothing calls this directly
Calls
1
sphore_wait
Function · 0.85
Tested by
no test coverage detected