Home
last modified time | relevance | path

Searched refs:STATE_DONE (Results 1 – 1 of 1) sorted by relevance

/third_party/ulib/musl/src/thread/
A Dcall_once.c10 STATE_DONE = 2, // another thread finished running init; just return enumerator
22 if (atomic_exchange(control, STATE_DONE) == STATE_WAKE) in once_full()
31 case STATE_DONE: in once_full()
39 if (atomic_load(control) == STATE_DONE) { in call_once()

Completed in 3 milliseconds