Home
last modified time | relevance | path

Searched refs:uv_signal_start (Results 1 – 14 of 14) sorted by relevance

/libuv/test/
H A Dtest-signal.c59 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGINT)); in TEST_IMPL()
60 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGBREAK)); in TEST_IMPL()
61 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGHUP)); in TEST_IMPL()
62 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGWINCH)); in TEST_IMPL()
63 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGILL)); in TEST_IMPL()
65 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGFPE)); in TEST_IMPL()
66 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGSEGV)); in TEST_IMPL()
67 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGTERM)); in TEST_IMPL()
68 ASSERT_OK(uv_signal_start(&signal, signum_test_cb, SIGABRT)); in TEST_IMPL()
145 ASSERT_OK(uv_signal_start(&ctx->handle, signal_cb, signum)); in start_watcher()
[all …]
H A Dtest-signal-multiple-loops.c98 r = uv_signal_start(&signal1a, signal1_cb, SIGUSR1); in signal_handling_worker()
102 r = uv_signal_start(&signal1b, signal1_cb, SIGUSR1); in signal_handling_worker()
109 r = uv_signal_start(&signal2, signal2_cb, SIGUSR2); in signal_handling_worker()
124 r = uv_signal_start(&signal1a, signal1_cb, SIGUSR1); in signal_handling_worker()
126 r = uv_signal_start(&signal1b, signal1_cb, SIGUSR1); in signal_handling_worker()
131 r = uv_signal_start(&signal2, signal2_cb, SIGUSR2); in signal_handling_worker()
181 r = uv_signal_start(&signal, signal_unexpected_cb, SIGTERM); in loop_creating_worker()
H A Dtest-signal-pending-on-close.c69 ASSERT_OK(uv_signal_start(&signal_hdl, signal_cb, SIGPIPE)); in TEST_IMPL()
101 ASSERT_OK(uv_signal_start(&signal_hdl, stop_loop_cb, SIGPIPE)); in TEST_IMPL()
H A Dtest-eintr-handling.c74 ASSERT_OK(uv_signal_start(&signal, sig_func, SIGUSR1)); in TEST_IMPL()
H A Dtest-fork.c262 ASSERT_OK(uv_signal_start(&signal_handle, in TEST_IMPL()
320 ASSERT_OK(uv_signal_start(&signal_handle, in TEST_IMPL()
390 ASSERT_OK(uv_signal_start(&signal_handle, &fork_signal_cb, SIGHUP)); in TEST_IMPL()
H A Dtest-fs.c3827 ASSERT_OK(uv_signal_start(&signal, sig_func, SIGUSR1)); in test_fs_partial()
/libuv/docs/code/signal/
H A Dmain.c28 uv_signal_start(&sig1a, signal_handler, SIGUSR1); in thread1_worker()
31 uv_signal_start(&sig1b, signal_handler, SIGUSR1); in thread1_worker()
44 uv_signal_start(&sig2, signal_handler, SIGUSR1); in thread2_worker()
48 uv_signal_start(&sig3, signal_handler, SIGUSR1); in thread2_worker()
/libuv/docs/src/
H A Dsignal.rst66 Type definition for callback passed to :c:func:`uv_signal_start`.
86 .. c:function:: int uv_signal_start(uv_signal_t* signal, uv_signal_cb cb, int signum)
94 Same functionality as :c:func:`uv_signal_start` but the signal handler is reset the moment
/libuv/docs/code/queue-cancel/
H A Dmain.c56 uv_signal_start(&sig, signal_handler, SIGINT); in main()
/libuv/src/win/
H A Dsignal.c181 int uv_signal_start(uv_signal_t* handle, uv_signal_cb signal_cb, int signum) { in uv_signal_start() function
/libuv/src/unix/
H A Dsignal.c357 int uv_signal_start(uv_signal_t* handle, uv_signal_cb signal_cb, int signum) { in uv_signal_start() function
H A Dprocess.c1006 uv_signal_start(&loop->child_watcher, uv__chld, SIGCHLD); in uv_spawn()
/libuv/docs/src/guide/
H A Dprocesses.rst142 that handler, use ``uv_signal_start()`` with the handler function. Each handler
144 ``uv_signal_start()`` overwriting earlier associations. Use ``uv_signal_stop()`` to
/libuv/include/
H A Duv.h1706 UV_EXTERN int uv_signal_start(uv_signal_t* handle,

Completed in 42 milliseconds