Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dthread.c476 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
482 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
488 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
500 int uv_sem_trywait(uv_sem_t* sem) { in uv_sem_trywait()
650 static void uv__sem_post(uv_sem_t* sem) { in uv__sem_post()
656 static void uv__sem_wait(uv_sem_t* sem) { in uv__sem_wait()
668 static int uv__sem_trywait(uv_sem_t* sem) { in uv__sem_trywait()
696 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
704 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
712 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/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-thread-name.c29 uv_sem_t main;
30 uv_sem_t worker;
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/src/win/
H A Dthread.c436 int uv_sem_init(uv_sem_t* sem, unsigned int value) { in uv_sem_init()
445 void uv_sem_destroy(uv_sem_t* sem) { in uv_sem_destroy()
451 void uv_sem_post(uv_sem_t* sem) { in uv_sem_post()
457 void uv_sem_wait(uv_sem_t* sem) { in uv_sem_wait()
463 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/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.h238 typedef HANDLE uv_sem_t; typedef
/libuv/docs/src/
H A Dthreading.rst39 .. c:type:: uv_sem_t
230 .. c:function:: int uv_sem_init(uv_sem_t* sem, unsigned int value)
231 .. c:function:: void uv_sem_destroy(uv_sem_t* sem)
232 .. c:function:: void uv_sem_post(uv_sem_t* sem)
233 .. c:function:: void uv_sem_wait(uv_sem_t* sem)
234 .. c:function:: int uv_sem_trywait(uv_sem_t* sem)
/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.h1847 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
1848 UV_EXTERN void uv_sem_destroy(uv_sem_t* sem);
1849 UV_EXTERN void uv_sem_post(uv_sem_t* sem);
1850 UV_EXTERN void uv_sem_wait(uv_sem_t* sem);
1851 UV_EXTERN int uv_sem_trywait(uv_sem_t* sem);

Completed in 45 milliseconds