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()
166 same guard will block all callers except one (it's unspecified which one).167 The guard should be initialized statically with the UV_ONCE_INIT macro.169 .. c:function:: void uv_once(uv_once_t* guard, void (*callback)(void))
432 void uv_once(uv_once_t* guard, void (*callback)(void)) { in uv_once() argument433 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 */
1832 UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
390 * build: add define guard around UV_EXTERN (Zvicii)1999 * unix: guard use of PTHREAD_STACK_MIN (Kamil Rytarowski)2494 * aix: guard STATIC_ASSERT for glibc work around (Richard Lau)3535 * unix: guard against clobbering errno in uv__free() (Ben Noordhuis)
Completed in 35 milliseconds