Searched defs:controller (Results 1 - 1 of 1) sorted by relevance

/bind-9.11.3/lib/isc/win32/
H A Donce.c22 isc_once_do(isc_once_t *controller, void(*function)(void)) { argument
23 REQUIRE(controller != NULL && function != NULL);
25 if (controller->status == ISC_ONCE_INIT_NEEDED) {
27 if (InterlockedDecrement(&controller->counter) == 0) {
28 if (controller->status == ISC_ONCE_INIT_NEEDED) {
30 controller->status = ISC_ONCE_INIT_DONE;
33 while (controller->status == ISC_ONCE_INIT_NEEDED) {

Completed in 9 milliseconds