From 3ac86cc6f1783dd4247b6b587d4319081f5733ce Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 25 Mar 2023 05:36:03 +0800 Subject: [PATCH] testing/ostest: Define the private used signal to SIGRTMIN Signed-off-by: Xiang Xiao --- testing/ostest/posixtimer.c | 4 ++-- testing/ostest/sigev_thread.c | 4 ++-- testing/ostest/sighand.c | 2 +- testing/ostest/signest.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testing/ostest/posixtimer.c b/testing/ostest/posixtimer.c index 6c296f02c..9ae0a1f8d 100644 --- a/testing/ostest/posixtimer.c +++ b/testing/ostest/posixtimer.c @@ -38,8 +38,8 @@ * Private Definitions ****************************************************************************/ -#define MY_TIMER_SIGNAL 17 -#define SIGVALUE_INT 42 +#define MY_TIMER_SIGNAL SIGRTMIN +#define SIGVALUE_INT 42 /**************************************************************************** * Private Data diff --git a/testing/ostest/sigev_thread.c b/testing/ostest/sigev_thread.c index 1a598fab0..930379ea6 100644 --- a/testing/ostest/sigev_thread.c +++ b/testing/ostest/sigev_thread.c @@ -36,8 +36,8 @@ * Private Definitions ****************************************************************************/ -#define MY_TIMER_SIGNAL 17 -#define SIGVALUE_INT 42 +#define MY_TIMER_SIGNAL SIGRTMIN +#define SIGVALUE_INT 42 /**************************************************************************** * Private Data diff --git a/testing/ostest/sighand.c b/testing/ostest/sighand.c index 128b9dfb4..de29355ef 100644 --- a/testing/ostest/sighand.c +++ b/testing/ostest/sighand.c @@ -43,7 +43,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define WAKEUP_SIGNAL 17 +#define WAKEUP_SIGNAL SIGRTMIN #define SIGVALUE_INT 42 /**************************************************************************** diff --git a/testing/ostest/signest.c b/testing/ostest/signest.c index 85b32f5a5..8b4080f7c 100644 --- a/testing/ostest/signest.c +++ b/testing/ostest/signest.c @@ -41,7 +41,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define WAKEUP_SIGNAL 17 +#define WAKEUP_SIGNAL SIGRTMIN #define SIGVALUE_INT 42 /****************************************************************************