Searched refs:lock (Results 1 – 10 of 10) sorted by relevance
53 static uv_mutex_t lock; variable62 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()
45 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()
983 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()
393 uv_mutex_t lock; member
245 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()
1247 CRITICAL_SECTION* lock = &handle->pipe.conn.readfile_thread_lock; in uv_pipe_zero_readfile_thread_proc() local1270 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()
102 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 is123 held by a reader. A reader or writer may not acquire a lock when a writer is
37 Read-write lock data type.
614 Atomically obtain an exclusive lock.
3065 * zos: lock protect global epoll list in epoll_ctl (jBarz)
Completed in 56 milliseconds