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:
parent
39016f6d68
commit
48050c9425
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue