testing/ostest: Remove the unreal used SIG_WAITCANCEL
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
3ac86cc6f1
commit
417b87a0a0
@ -36,12 +36,6 @@
|
||||
|
||||
#include "ostest.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Preprocessor definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define SIG_WAITCANCEL 27
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
@ -234,7 +228,7 @@ static FAR void *sig_waiter(FAR void *parameter)
|
||||
|
||||
/* Wait for a signal that will never be delivered */
|
||||
|
||||
printf("sig_waiter: Waiting to receive signal %d ...\n", SIG_WAITCANCEL);
|
||||
printf("sig_waiter: Waiting to receive signal...\n");
|
||||
|
||||
sigemptyset(&set);
|
||||
ret = sigwaitinfo(&set, &info);
|
||||
|
Loading…
Reference in New Issue
Block a user