From 56f292fcfa9ba2b647853269eef11b5603869449 Mon Sep 17 00:00:00 2001 From: huangcaihua Date: Tue, 5 Nov 2024 11:57:01 +0800 Subject: [PATCH] Enable DEV_PIPE_NPOLLWAITERS default value 4 for adapte APP Such as DBus, it maybe more than 1 thread to poll one dev, if that will make poll fail Signed-off-by: huangcaihua --- drivers/pipes/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/pipes/Kconfig b/drivers/pipes/Kconfig index 4bec13dd24074..50a79d05a6fc8 100644 --- a/drivers/pipes/Kconfig +++ b/drivers/pipes/Kconfig @@ -40,4 +40,10 @@ config DEV_PIPE_VFS_PATH ---help--- The path to where pipe device will exist in the VFS namespace. +config DEV_PIPE_NPOLLWAITERS + int "number of threads for waiting POLL events" + default 4 + ---help--- + Maximum number of threads that can be waiting for POLL events + endif # PIPES