mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue