57 if (
w1->signum <
w2->signum)
return -1;
58 if (
w1->signum >
w2->signum)
return 1;
121 case CTRL_BREAK_EVENT:
124 case CTRL_CLOSE_EVENT:
135 case CTRL_LOGOFF_EVENT:
136 case CTRL_SHUTDOWN_EVENT:
149 handle->pending_signum = 0;
198 if (signum <= 0 || signum >=
NSIG)
206 handle->signal_cb = signal_cb;
211 if (
handle->signum != 0) {
227 handle->signal_cb = signal_cb;
236 long dispatched_signum;
243 assert(dispatched_signum != 0);
248 if (dispatched_signum ==
handle->signum)
266 if (
handle->pending_signum == 0) {
static mcore_handle handle
static RzBinXtrData * oneshot(RzBin *bin, const ut8 *buf, ut64 size, int subbin_type)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec req
static INLINE void uv_want_endgame(uv_loop_t *loop, uv_handle_t *handle)
#define uv__handle_close(handle)
#define uv__handle_closing(handle)
#define RB_NEXT(name, x, y)
#define RB_INSERT(name, x, y)
#define RB_NFIND(name, x, y)
#define RB_REMOVE(name, x, y)
#define RB_INITIALIZER(root)
static static fork const void static count static fd const char static mode const char static pathname const char static path const char static dev const char static group static getpid static getuid void void static data static pause const char static mode static sync const char const char static newpath const char static pathname unsigned long static filedes void static end_data_segment signum
assert(limit<=UINT32_MAX/2)
#define POST_COMPLETION_FOR_REQ(loop, req)
_W64 unsigned int uintptr_t
int uv_signal_init(uv_loop_t *loop, uv_signal_t *handle)
RB_GENERATE_STATIC(uv__signal_tree_s, uv_signal_s, tree_entry, uv__signal_compare)
void uv__signal_cleanup(void)
int uv_signal_start_oneshot(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
RB_HEAD(uv__signal_tree_s, uv_signal_s)
int uv_signal_start(uv_signal_t *handle, uv_signal_cb signal_cb, int signum)
int uv_signal_stop(uv_signal_t *handle)
static CRITICAL_SECTION uv__signal_lock
void uv_signal_close(uv_loop_t *loop, uv_signal_t *handle)
void uv_signal_endgame(uv_loop_t *loop, uv_signal_t *handle)
static BOOL WINAPI uv__signal_control_handler(DWORD type)
static int uv__signal_compare(uv_signal_t *w1, uv_signal_t *w2)
int uv__signal_start(uv_signal_t *handle, uv_signal_cb signal_cb, int signum, int oneshot)
int uv__signal_dispatch(int signum)
void uv_process_signal_req(uv_loop_t *loop, uv_signal_t *handle, uv_req_t *req)
static struct uv_signal_tree_s uv__signal_tree
void uv_signals_init(void)
@ UV_SIGNAL_ONE_SHOT_DISPATCHED
#define UV_REQ_INIT(req, typ)
#define uv__handle_init(loop_, h, type_)
#define uv__handle_stop(h)
#define uv__handle_start(h)
void(* uv_signal_cb)(uv_signal_t *handle, int signum)