Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/signal.h
Show First 20 Lines • Show All 125 Lines • ▼ Show 20 Lines | |||||
#if __POSIX_VISIBLE || __XSI_VISIBLE | #if __POSIX_VISIBLE || __XSI_VISIBLE | ||||
#define SIGUSR1 30 /* user defined signal 1 */ | #define SIGUSR1 30 /* user defined signal 1 */ | ||||
#define SIGUSR2 31 /* user defined signal 2 */ | #define SIGUSR2 31 /* user defined signal 2 */ | ||||
#endif | #endif | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
#define SIGTHR 32 /* reserved by thread library. */ | #define SIGTHR 32 /* reserved by thread library. */ | ||||
#define SIGLWP SIGTHR | #define SIGLWP SIGTHR | ||||
#define SIGLIBRT 33 /* reserved by real-time library. */ | #define SIGLIBRT 33 /* reserved by real-time library. */ | ||||
#define SIGCAP 34 /* Capsicum violation. */ | |||||
emaste: Intentionally equal to `SIGLIBRT`? | |||||
Done Inline Actions
No, that's a copy and paste fail. Fixed. theraven: > Intentionally equal to `SIGLIBRT`?
No, that's a copy and paste fail. Fixed. | |||||
Not Done Inline ActionsThis should be documented in signal.3. markj: This should be documented in signal.3. | |||||
Done Inline ActionsThis makes me realise that I should be setting the default behaviour but the array that describes the default behaviour in the kernel doesn't cover SIGTHR or SIGLIBRT (or anything more than NSIG, which is documented as only containing the number of old signals). theraven: This makes me realise that I should be setting the default behaviour but the array that… | |||||
Not Done Inline ActionsPerhaps the array should be extended a bit (but possibly not in this review). jilles: Perhaps the array should be extended a bit (but possibly not in this review). | |||||
#endif | #endif | ||||
#define SIGRTMIN 65 | #define SIGRTMIN 65 | ||||
#define SIGRTMAX 126 | #define SIGRTMAX 126 | ||||
#define SIG_DFL ((__sighandler_t *)0) | #define SIG_DFL ((__sighandler_t *)0) | ||||
#define SIG_IGN ((__sighandler_t *)1) | #define SIG_IGN ((__sighandler_t *)1) | ||||
#define SIG_ERR ((__sighandler_t *)-1) | #define SIG_ERR ((__sighandler_t *)-1) | ||||
▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines |
Intentionally equal to SIGLIBRT?