Lines Matching refs:signum
39 int signum,
57 if (w1->signum < w2->signum) return -1; in uv__signal_compare()
58 if (w1->signum > w2->signum) return 1; in uv__signal_compare()
80 int uv__signal_dispatch(int signum) { in RB_GENERATE_STATIC()
89 lookup.signum = signum; in RB_GENERATE_STATIC()
93 handle != NULL && handle->signum == signum; in RB_GENERATE_STATIC()
96 (volatile LONG*) &handle->pending_signum, signum); in RB_GENERATE_STATIC()
150 handle->signum = 0; in uv_signal_init()
164 if (handle->signum == 0) in uv_signal_stop()
174 handle->signum = 0; in uv_signal_stop()
181 int uv_signal_start(uv_signal_t* handle, uv_signal_cb signal_cb, int signum) { in uv_signal_start() argument
182 return uv__signal_start(handle, signal_cb, signum, 0); in uv_signal_start()
188 int signum) { in uv_signal_start_oneshot() argument
189 return uv__signal_start(handle, signal_cb, signum, 1); in uv_signal_start_oneshot()
195 int signum, in uv__signal_start() argument
198 if (signum <= 0 || signum >= NSIG) in uv__signal_start()
205 if (signum == handle->signum) { in uv__signal_start()
211 if (handle->signum != 0) { in uv__signal_start()
219 handle->signum = signum; in uv__signal_start()
248 if (dispatched_signum == handle->signum) in uv__process_signal_req()
256 assert(handle->signum == 0); in uv__process_signal_req()
276 assert(handle->signum == 0); in uv__signal_endgame()