Lines Matching refs:signal
30 #include <signal.h>
94 /* Setup the signal watchers and start them. */
116 /* Wait for all signals. The signal callbacks stop the watcher, so uv_run
117 * will return when all signal watchers caught a signal.
122 /* Restart the signal watchers. */
151 /* Wait for the signal watchers to close. */
171 uv_signal_t signal;
178 r = uv_signal_init(loop, &signal);
181 r = uv_signal_start(&signal, signal_unexpected_cb, SIGTERM);
184 uv_close((uv_handle_t*) &signal, NULL);
212 RETURN_SKIP("QEMU's signal emulation code is notoriously tricky");
220 * in uv__signal_compare() in src/unix/signal.c but that's pre-existing.
259 /* Wait until all threads have started and set up their signal watchers. */
272 /* Block all signals to this thread, so we are sure that from here the signal
274 * signal safety issues if there are any.
284 /* Wait for all signal handling threads to exit. */