Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dthread.c49 void uv_once(uv_once_t* guard, uv__once_cb callback) { in uv_once() argument
51 InitOnceExecuteOnce(&guard->init_once, uv__once_inner, (void*) &data, NULL); in uv_once()
/libuv/docs/src/
H A Dthreading.rst191 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))
/libuv/src/unix/
H A Dthread.c453 void uv_once(uv_once_t* guard, void (*callback)(void)) { in uv_once() argument
454 if (pthread_once(guard, callback)) in uv_once()
/libuv/docs/src/guide/
H A Dthreads.rst152 threads can attempt to call ``uv_once()`` with a given guard and a function
156 /* Initialize guard */
/libuv/include/
H A Duv.h1867 UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
/libuv/
H A DChangeLog172 * 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 29 milliseconds