Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 10 of 10) sorted by relevance

/libuv/test/
H A Dtest-signal-multiple-loops.c53 static uv_mutex_t lock; variable
62 uv_mutex_lock(&lock); in increment_counter()
64 uv_mutex_unlock(&lock); in increment_counter()
194 uv_mutex_lock(&lock); in loop_creating_worker()
196 uv_mutex_unlock(&lock); in loop_creating_worker()
234 r = uv_mutex_init(&lock); in TEST_IMPL()
291 uv_mutex_lock(&lock); in TEST_IMPL()
293 uv_mutex_unlock(&lock); in TEST_IMPL()
/libuv/src/unix/
H A Dloop.c45 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
120 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
205 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()
/libuv/src/
H A Duv-common.c983 uv_mutex_lock(&loop_metrics->lock); in uv__metrics_update_idle_time()
987 uv_mutex_unlock(&loop_metrics->lock); in uv__metrics_update_idle_time()
1000 uv_mutex_lock(&loop_metrics->lock); in uv__metrics_set_provider_entry_time()
1002 uv_mutex_unlock(&loop_metrics->lock); in uv__metrics_set_provider_entry_time()
1021 uv_mutex_lock(&loop_metrics->lock); in uv_metrics_idle_time()
1024 uv_mutex_unlock(&loop_metrics->lock); in uv_metrics_idle_time()
H A Duv-common.h393 uv_mutex_t lock; member
/libuv/src/win/
H A Dcore.c245 err = uv_mutex_init(&lfields->loop_metrics.lock); in uv_loop_init()
313 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv_loop_init()
370 uv_mutex_destroy(&lfields->loop_metrics.lock); in uv__loop_close()
H A Dpipe.c1247 CRITICAL_SECTION* lock = &handle->pipe.conn.readfile_thread_lock; in uv_pipe_zero_readfile_thread_proc() local
1270 EnterCriticalSection(lock); in uv_pipe_zero_readfile_thread_proc()
1279 LeaveCriticalSection(lock); in uv_pipe_zero_readfile_thread_proc()
1296 EnterCriticalSection(lock); in uv_pipe_zero_readfile_thread_proc()
1297 LeaveCriticalSection(lock); in uv_pipe_zero_readfile_thread_proc()
/libuv/docs/src/guide/
H A Dthreads.rst102 locked a mutex attempts to lock it again. For example, a construct like::
122 shared memory at the same time. A writer may not acquire the lock when it is
123 held by a reader. A reader or writer may not acquire a lock when a writer is
/libuv/docs/src/
H A Dthreading.rst37 Read-write lock data type.
H A Dfs.rst614 Atomically obtain an exclusive lock.
/libuv/
H A DChangeLog3065 * zos: lock protect global epoll list in epoll_ctl (jBarz)

Completed in 56 milliseconds