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:
Jiuzhu Dong 2021-02-19 12:25:03 +08:00 committed by Xiang Xiao
parent 39016f6d68
commit 48050c9425
1 changed files with 1 additions and 1 deletions

View File

@ -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))