syslog/ramlog: Syslog supports multi-readers.

Signed-off-by: yuanyongjian <yuanyongjian@xiaomi.com>
This commit is contained in:
yuanyongjian
2023-11-23 13:02:47 +08:00
committed by Xiang Xiao
parent 0da8755fbc
commit 046dd38c55
2 changed files with 187 additions and 193 deletions
-6
View File
@@ -48,12 +48,6 @@ config RAMLOG_NONBLOCKING
Reading from the RAMLOG will never block if the RAMLOG is empty. If the RAMLOG Reading from the RAMLOG will never block if the RAMLOG is empty. If the RAMLOG
is empty, then zero is returned (usually interpreted as end-of-file). is empty, then zero is returned (usually interpreted as end-of-file).
config RAMLOG_NPOLLWAITERS
int "RAMLOG number of poll waiters"
default 4
---help---
The maximum number of threads that may be waiting on the poll method.
config RAMLOG_POLLTHRESHOLD config RAMLOG_POLLTHRESHOLD
int "The threshold value of circular buffer to notify poll waiters" int "The threshold value of circular buffer to notify poll waiters"
default 1 default 1
+187 -187
View File
File diff suppressed because it is too large Load Diff