From 4bb50cdd3724ad1529614f155f3e159a8520ec4e Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 5 Aug 2021 14:29:17 +0800 Subject: [PATCH] signal: Allow SIG_EVTHREAD selectable in protected mode since we can delivery signal through libs/libc/wqueue Signed-off-by: Xiang Xiao --- sched/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sched/Kconfig b/sched/Kconfig index 4c0d19042b..ad0c7c2fa3 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -1356,7 +1356,8 @@ config SIG_PREALLOC_IRQ_ACTIONS config SIG_EVTHREAD bool "Support SIGEV_THHREAD" default n - depends on BUILD_FLAT && SCHED_WORKQUEUE + depends on !BUILD_KERNEL && SCHED_WORKQUEUE + select LIB_USRWORK if BUILD_PROTECTED ---help--- Built in support for the SIGEV_THREAD signal deliver method.