Searched refs:guard (Results 1 – 6 of 6) sorted by relevance
49 void uv_once(uv_once_t* guard, uv__once_cb callback) { in uv_once() argument51 InitOnceExecuteOnce(&guard->init_once, uv__once_inner, (void*) &data, NULL); in uv_once()
191 same guard will block all callers except one (it's unspecified which one).192 The guard should be initialized statically with the UV_ONCE_INIT macro.194 .. c:function:: void uv_once(uv_once_t* guard, void (*callback)(void))
453 void uv_once(uv_once_t* guard, void (*callback)(void)) { in uv_once() argument454 if (pthread_once(guard, callback)) in uv_once()
152 threads can attempt to call ``uv_once()`` with a given guard and a function156 /* Initialize guard */
1867 UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
172 * test,openbsd: remove superfluous ifdef guard (Ben Noordhuis)641 * build: add define guard around UV_EXTERN (Zvicii)2250 * unix: guard use of PTHREAD_STACK_MIN (Kamil Rytarowski)2745 * aix: guard STATIC_ASSERT for glibc work around (Richard Lau)3786 * unix: guard against clobbering errno in uv__free() (Ben Noordhuis)
Completed in 39 milliseconds