Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ wake
Function
wake
test/pthread/test_pthread_clock_drift.c:24–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
void wake(volatile int *address) {
25
emscripten_atomic_store_u32((void*)address, 1);
26
}
27
28
void *thread_main(void *arg) {
29
wake(&threadStarted);
Callers
3
thread_main
Function · 0.85
main
Function · 0.85
unlock
Method · 0.85
Calls
1
emscripten_atomic_store_u32
Function · 0.85
Tested by
no test coverage detected