Searched refs:ONCE_IN_PROGRESS (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/lib/libthr/thread/
H A Dthr_once.c40 #define ONCE_IN_PROGRESS 0x02 macro
56 if (atomic_cmpset_rel_int(&once_control->state, ONCE_IN_PROGRESS,
79 ONCE_IN_PROGRESS))
81 } else if (state == ONCE_IN_PROGRESS) {
97 if (atomic_cmpset_rel_int(&once_control->state, ONCE_IN_PROGRESS,

Completed in 44 milliseconds