/libuv/src/unix/ |
H A D | bsd-proctitle.c | 41 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv__process_title_cleanup() 59 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_set_process_title() 78 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_get_process_title()
|
H A D | os390-proctitle.c | 91 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_set_process_title() 115 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_get_process_title()
|
H A D | proctitle.c | 107 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_set_process_title() 135 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_get_process_title()
|
H A D | random-getentropy.c | 43 uv_once(&once, uv__random_getentropy_init); in uv__random_getentropy()
|
H A D | random-getrandom.c | 44 uv_once(&once, uv__random_getrandom_init_once); in uv__random_getrandom_init()
|
H A D | random-devurandom.c | 87 uv_once(&once, uv__random_devurandom_init); in uv__random_devurandom()
|
H A D | aix-common.c | 69 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_exepath()
|
H A D | os390-syscalls.c | 226 uv_once(&once, epoll_init); in epoll_create1() 357 uv_once(&once, epoll_init); in epoll_file_close()
|
H A D | darwin.c | 61 uv_once(&once, uv__hrtime_init_once); in uv__hrtime()
|
H A D | thread.c | 453 void uv_once(uv_once_t* guard, void (*callback)(void)) { in uv_once() function 686 uv_once(&glibc_version_check_once, glibc_version_check); in uv_sem_init()
|
H A D | aix.c | 908 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_setup_args() 955 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_set_process_title() 985 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_get_process_title()
|
H A D | async.c | 276 uv_once(&kqueue_runtime_detection_guard, uv__kqueue_runtime_detection);
|
H A D | ibmi.c | 519 uv_once(&process_title_mutex_once, init_process_title_mutex_once); in uv_setup_args()
|
H A D | signal.c | 112 uv_once(&uv__signal_global_init_guard, uv__signal_global_init); in uv__signal_global_once_init()
|
H A D | process.c | 860 uv_once(&posix_spawn_init_once, uv__spawn_init_posix_spawn); in uv__spawn_and_init_child()
|
H A D | fs.c | 324 uv_once(&once, uv__mkostemp_initonce); in uv__fs_mkstemp()
|
/libuv/src/win/ |
H A D | thread.c | 49 void uv_once(uv_once_t* guard, uv__once_cb callback) { in uv_once() function 83 uv_once(&uv__current_thread_init_guard, uv__init_current_thread_key); in uv__thread_start() 248 uv_once(&uv__current_thread_init_guard, uv__init_current_thread_key); in uv_thread_self()
|
H A D | core.c | 333 uv_once(&uv_init_guard_, uv__init); in uv__once_init()
|
H A D | poll.c | 67 uv_once(&overlapped_dummy_init_guard_, uv__init_overlapped_dummy); in uv__get_overlapped_dummy()
|
H A D | process.c | 1075 uv_once(&uv_global_job_handle_init_guard_, uv__init_global_job_handle); in uv_spawn()
|
/libuv/src/ |
H A D | threadpool.c | 270 uv_once(&once, init_once); in uv__work_submit() 284 uv_once(&once, init_once); /* Ensure |mutex| is initialized. */ in uv__work_cancel()
|
/libuv/docs/src/guide/ |
H A D | threads.rst | 151 In addition, libuv provides a convenience function ``uv_once()``. Multiple 152 threads can attempt to call ``uv_once()`` with a given guard and a function 167 uv_once(once_only, increment); 172 uv_once(once_only, increment);
|
/libuv/docs/src/ |
H A D | threading.rst | 190 Runs a function once and only once. Concurrent calls to :c:func:`uv_once` with the 194 .. c:function:: void uv_once(uv_once_t* guard, void (*callback)(void))
|
/libuv/include/ |
H A D | uv.h | 1867 UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
|
/libuv/ |
H A D | ChangeLog | 93 * win: simplify uv_once implementation (Saúl Ibarra Corretgé) 3745 * signal: replace pthread_once with uv_once (Santiago Gimeno)
|