mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
syslog/ramlog: Syslog supports multi-readers.
Signed-off-by: yuanyongjian <yuanyongjian@xiaomi.com>
This commit is contained in:
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user