Home
last modified time | relevance | path

Searched refs:uv_sem_t (Results 1 – 20 of 20) sorted by relevance

/libuv/src/unix/
H A Dthread.c455 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
461 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
467 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
479 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()
629 static void uv__sem_post(uv_sem_t* sem) { in uv__sem_post()
635 static void uv__sem_wait(uv_sem_t* sem) { in uv__sem_wait()
647 static int uv__sem_trywait(uv_sem_t* sem) { in uv__sem_trywait()
675 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
683 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
691 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
[all …]
H A Dstream.c49 uv_sem_t close_sem;
50 uv_sem_t async_sem;
H A Dfsevents.c99 uv_sem_t fsevent_sem;
/libuv/src/win/
H A Dthread.c362 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init()
371 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
377 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
383 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
389 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()
H A Dtty.c143 static uv_sem_t uv_tty_output_lock;
/libuv/test/
H A Dtest-process-title-threadsafe.c42 uv_sem_t* getter_sem; in getter_thread_body()
84 uv_sem_t getter_sem; in TEST_IMPL()
H A Dtest-semaphore.c30 uv_sem_t sem;
96 uv_sem_t sem; in TEST_IMPL()
H A Dtest-condvar.c34 uv_sem_t sem_waiting; /* post before waiting. */
35 uv_sem_t sem_signaled; /* post after signaling. */
H A Dtest-thread-priority.c40 uv_sem_t sem;
H A Dtest-threadpool-cancel.c54 static uv_sem_t pause_sems[ARRAY_SIZE(pause_reqs)];
394 uv_sem_post((uv_sem_t*) req->data); in busy_cb()
400 uv_sem_t sem_lock; in TEST_IMPL()
H A Dtest-tcp-reuseport.c62 static uv_sem_t semaphore;
H A Dtest-signal-multiple-loops.c52 static uv_sem_t sem;
H A Dtest-udp-reuseport.c80 static uv_sem_t semaphore;
H A Dbenchmark-multi-accept.c72 uv_sem_t semaphore;
/libuv/docs/src/
H A Dthreading.rst39 .. c:type:: uv_sem_t
205 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
206 .. c:function:: void uv_sem_destroy(uv_sem_t* sem)
207 .. c:function:: void uv_sem_post(uv_sem_t* sem)
208 .. c:function:: void uv_sem_wait(uv_sem_t* sem)
209 .. c:function:: int uv_sem_trywait(uv_sem_t* sem)
/libuv/include/uv/
H A Ddarwin.h42 uv_sem_t cf_sem; \
H A Dunix.h136 typedef UV_PLATFORM_SEM_T uv_sem_t; typedef
H A Dwin.h246 typedef HANDLE uv_sem_t; typedef
/libuv/src/
H A Dthreadpool.c62 uv_sem_post((uv_sem_t*) arg); in worker()
197 uv_sem_t sem; in init_threads()
/libuv/include/
H A Duv.h1841 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
1842 UV_EXTERN void uv_sem_destroy(uv_sem_t* sem);
1843 UV_EXTERN void uv_sem_post(uv_sem_t* sem);
1844 UV_EXTERN void uv_sem_wait(uv_sem_t* sem);
1845 UV_EXTERN int uv_sem_trywait(uv_sem_t* sem);

Completed in 48 milliseconds