From 97ed00384278d02a9fa2c67f3342ecf487bc8381 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 16 Jul 2023 00:38:08 +0800 Subject: [PATCH] pthread: Extend the up limit of PTHREAD_CLEANUP_STACKSIZE to 255 tos field is uint8_t, so it doesn't make sense to limit the max value to 32 Signed-off-by: Xiang Xiao --- sched/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sched/Kconfig b/sched/Kconfig index 4296de0a2b0..7ec5fde62cb 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -755,7 +755,7 @@ endchoice # Default pthread mutex protocol config PTHREAD_CLEANUP_STACKSIZE int "pthread cleanup stack size" default 0 - range 0 32 + range 0 255 ---help--- The maximum number of cleanup actions that may be pushed by pthread_cleanup_push().