Home
last modified time | relevance | path

Searched refs:uv_signal_t (Results 1 – 22 of 22) sorted by relevance

/libuv/src/unix/
H A Dsignal.c36 uv_signal_t* handle;
49 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2);
167 uv_signal_t lookup; in uv__signal_first_handle()
168 uv_signal_t* handle; in uv__signal_first_handle()
185 uv_signal_t* handle; in uv__signal_handler()
294 uv_signal_t* sh; in uv__signal_loop_fork()
375 uv_signal_t* first_handle; in uv__signal_start()
437 uv_signal_t* handle; in uv__signal_event()
500 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2) { in uv__signal_compare()
538 uv_signal_t* removed_handle; in uv__signal_stop()
[all …]
H A Dinternal.h306 void uv__signal_close(uv_signal_t* handle);
H A Dcore.c228 uv__signal_close((uv_signal_t*) handle); in uv_close()
302 uv_signal_t* sh; in uv__finish_close()
334 sh = (uv_signal_t*) handle; in uv__finish_close()
H A Dprocess.c75 static void uv__chld(uv_signal_t* handle, int signum) { in uv__chld()
/libuv/src/win/
H A Dsignal.c37 int uv__signal_start(uv_signal_t* handle,
54 static int uv__signal_compare(uv_signal_t* w1, uv_signal_t* w2) { in uv__signal_compare()
81 uv_signal_t lookup; in RB_GENERATE_STATIC()
82 uv_signal_t* handle; in RB_GENERATE_STATIC()
147 int uv_signal_init(uv_loop_t* loop, uv_signal_t* handle) { in uv_signal_init()
160 int uv_signal_stop(uv_signal_t* handle) { in uv_signal_stop()
161 uv_signal_t* removed_handle; in uv_signal_stop()
186 int uv_signal_start_oneshot(uv_signal_t* handle, in uv_signal_start_oneshot()
193 int uv__signal_start(uv_signal_t* handle, in uv__signal_start()
262 void uv__signal_close(uv_loop_t* loop, uv_signal_t* handle) { in uv__signal_close()
[all …]
H A Dinternal.h217 void uv__signal_close(uv_loop_t* loop, uv_signal_t* handle);
218 void uv__signal_endgame(uv_loop_t* loop, uv_signal_t* handle);
220 void uv__process_signal_req(uv_loop_t* loop, uv_signal_t* handle,
H A Dhandle.c128 uv__signal_close(loop, (uv_signal_t*) handle); in uv_close()
H A Dhandle-inl.h144 uv__signal_endgame(loop, (uv_signal_t*) handle); in uv__process_endgames()
H A Dreq-inl.h193 uv__process_signal_req(loop, (uv_signal_t*) req->data, req); in uv__process_reqs()
/libuv/docs/code/signal/
H A Dmain.c15 void signal_handler(uv_signal_t *handle, int signum) in signal_handler()
26 uv_signal_t sig1a, sig1b; in thread1_worker()
42 uv_signal_t sig2; in thread2_worker()
46 uv_signal_t sig3; in thread2_worker()
/libuv/docs/src/
H A Dsignal.rst4 :c:type:`uv_signal_t` --- Signal handle
60 .. c:type:: uv_signal_t
64 .. c:type:: void (*uv_signal_cb)(uv_signal_t* handle, int signum)
72 .. c:member:: int uv_signal_t.signum
82 .. c:function:: int uv_signal_init(uv_loop_t* loop, uv_signal_t* signal)
86 .. c:function:: int uv_signal_start(uv_signal_t* signal, uv_signal_cb cb, int signum)
90 .. c:function:: int uv_signal_start_oneshot(uv_signal_t* signal, uv_signal_cb cb, int signum)
97 .. c:function:: int uv_signal_stop(uv_signal_t* signal)
/libuv/test/
H A Dtest-signal-multiple-loops.c68 static void signal1_cb(uv_signal_t* handle, int signum) { in signal1_cb()
75 static void signal2_cb(uv_signal_t* handle, int signum) { in signal2_cb()
84 uv_signal_t signal1a; in signal_handling_worker()
85 uv_signal_t signal1b; in signal_handling_worker()
86 uv_signal_t signal2; in signal_handling_worker()
159 static void signal_unexpected_cb(uv_signal_t* handle, int signum) { in signal_unexpected_cb()
171 uv_signal_t signal; in loop_creating_worker()
H A Dtest-signal-pending-on-close.c30 static uv_signal_t signal_hdl;
37 static void stop_loop_cb(uv_signal_t* signal, int signum) { in stop_loop_cb()
42 static void signal_cb(uv_signal_t* signal, int signum) { in signal_cb()
H A Dtest-eintr-handling.c60 static void sig_func(uv_signal_t* handle, int signum) { in sig_func()
67 uv_signal_t signal; in TEST_IMPL()
H A Dtest-signal.c47 static void signum_test_cb(uv_signal_t* handle, int signum) { in signum_test_cb()
52 uv_signal_t signal; in TEST_IMPL()
95 uv_signal_t handle;
101 static void signal_cb(uv_signal_t* handle, int signum) { in signal_cb()
114 static void signal_cb_one_shot(uv_signal_t* handle, int signum) { in signal_cb_one_shot()
H A Dtest-fork.c239 void fork_signal_to_child_cb(uv_signal_t* handle, int signum) in fork_signal_to_child_cb()
249 uv_signal_t signal_handle; in TEST_IMPL()
304 uv_signal_t signal_handle; in TEST_IMPL()
378 static void fork_signal_cb(uv_signal_t* h, int s) { in fork_signal_cb()
385 uv_signal_t signal_handle; in TEST_IMPL()
H A Dtest-fs.c3779 static void sig_func(uv_signal_t* handle, int signum) { in sig_func()
3800 uv_signal_t signal; in test_fs_partial()
/libuv/docs/code/queue-cancel/
H A Dmain.c33 void signal_handler(uv_signal_t *req, int signum) in signal_handler()
54 uv_signal_t sig; in main()
/libuv/include/
H A Duv.h236 typedef struct uv_signal_s uv_signal_t; typedef
415 typedef void (*uv_signal_cb)(uv_signal_t* handle, int signum);
1705 UV_EXTERN int uv_signal_init(uv_loop_t* loop, uv_signal_t* handle);
1706 UV_EXTERN int uv_signal_start(uv_signal_t* handle,
1709 UV_EXTERN int uv_signal_start_oneshot(uv_signal_t* handle,
1712 UV_EXTERN int uv_signal_stop(uv_signal_t* handle);
/libuv/include/uv/
H A Dunix.h249 uv_signal_t child_watcher; \
/libuv/docs/src/guide/
H A Dbasics.rst165 typedef struct uv_signal_s uv_signal_t;
H A Dprocesses.rst162 4 times, one for each ``uv_signal_t``. The handler just stops each handle,

Completed in 82 milliseconds