mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 14:41:29 +08:00
signal: set SIGRTMIN to SIGUSR1 because signo 0 don't catch.
Change-Id: I600fed48d25e19c229aac899508b86ddfebb24f6 Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@
|
||||
|
||||
#define NULL_SIGNAL_SET ((sigset_t)0x00000000)
|
||||
#define ALL_SIGNAL_SET ((sigset_t)0xffffffff)
|
||||
#define MIN_SIGNO 0
|
||||
#define MIN_SIGNO 1
|
||||
#define MAX_SIGNO 31
|
||||
#define GOOD_SIGNO(s) ((((unsigned)(s)) <= MAX_SIGNO))
|
||||
#define SIGNO2SET(s) ((sigset_t)1 << (s))
|
||||
|
||||
Reference in New Issue
Block a user