Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libthr/thread/thr_sig.c
Show First 20 Lines • Show All 435 Lines • ▼ Show 20 Lines | _thr_signal_init(int dlopened) | ||||
/* Unblock SIGCANCEL */ | /* Unblock SIGCANCEL */ | ||||
SIGEMPTYSET(act.sa_mask); | SIGEMPTYSET(act.sa_mask); | ||||
SIGADDSET(act.sa_mask, SIGCANCEL); | SIGADDSET(act.sa_mask, SIGCANCEL); | ||||
__sys_sigprocmask(SIG_UNBLOCK, &act.sa_mask, NULL); | __sys_sigprocmask(SIG_UNBLOCK, &act.sa_mask, NULL); | ||||
} | } | ||||
void | void | ||||
_thr_sigact_unload(struct dl_phdr_info *phdr_info) | _thr_sigact_unload(struct dl_phdr_info *phdr_info __unused) | ||||
{ | { | ||||
#if 0 | #if 0 | ||||
struct pthread *curthread = _get_curthread(); | struct pthread *curthread = _get_curthread(); | ||||
struct urwlock *rwlp; | struct urwlock *rwlp; | ||||
struct sigaction *actp; | struct sigaction *actp; | ||||
struct usigaction *usa; | struct usigaction *usa; | ||||
struct sigaction kact; | struct sigaction kact; | ||||
void (*handler)(int); | void (*handler)(int); | ||||
▲ Show 20 Lines • Show All 309 Lines • Show Last 20 Lines |