MCPcopy 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
24void wake(volatile int *address) {
25 emscripten_atomic_store_u32((void*)address, 1);
26}
27
28void *thread_main(void *arg) {
29 wake(&threadStarted);

Callers 3

thread_mainFunction · 0.85
mainFunction · 0.85
unlockMethod · 0.85

Calls 1

Tested by

no test coverage detected