ostest: fix assert when open CONFIG_SIG_DEFAULT
SIGKILL was captured and call nxsig_abnormal_termination, which kills the children when SIGCHLD was set. Solution: change SIGKILL to SIGUSR1. Signed-off-by: qiaowei <qiaowei@xiaomi.com> Change-Id: I4a4b06220a28fcf9d50debfd8a3b789fdbdf1976
This commit is contained in:
parent
278c9fe5f5
commit
d07db1fa5e
@ -359,7 +359,7 @@ void mqueue_test(void)
|
||||
/* Wake up the receiver thread with a signal */
|
||||
|
||||
printf("mqueue_test: Killing receiver\n");
|
||||
pthread_kill(receiver, 9);
|
||||
pthread_kill(receiver, SIGUSR1);
|
||||
|
||||
/* Wait a bit to see if the thread exits on its own */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user