Lines Matching refs:sig_num
86 int sig_num; member
1871 static JSOSSignalHandler *find_sh(JSThreadState *ts, int sig_num) in find_sh() argument
1877 if (sh->sig_num == sig_num) in find_sh()
1890 static void os_signal_handler(int sig_num) in os_signal_handler() argument
1892 os_pending_signals |= ((uint64_t)1 << sig_num); in os_signal_handler()
1896 typedef void (*sighandler_t)(int sig_num);
1905 uint32_t sig_num; in js_os_signal() local
1912 if (JS_ToUint32(ctx, &sig_num, argv[0])) in js_os_signal()
1914 if (sig_num >= 64) in js_os_signal()
1919 sh = find_sh(ts, sig_num); in js_os_signal()
1927 signal(sig_num, handler); in js_os_signal()
1931 sh = find_sh(ts, sig_num); in js_os_signal()
1936 sh->sig_num = sig_num; in js_os_signal()
1941 signal(sig_num, os_signal_handler); in js_os_signal()
2231 mask = (uint64_t)1 << sh->sig_num; in js_os_poll()