From df1ffd9680ba72eace3241b0af52da0bbd41ed34 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 b9a066d5664..49417539414 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.