mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 10:42:47 +01:00
407dc917f1
Adds the PushModes Try and Wait to allow producers to specify how they want to push their data to the queue if the queue is full. If the queue is full: - Try will fail to push to the queue, returning false. Try only returns true if it successfully pushes to the queue. This may result in items not being pushed into the queue. - Wait will wait until a slot is available to push to the queue, resulting in potential for deadlock if a consumer is not running. |
||
---|---|---|
.. | ||
backend.cpp | ||
backend.h | ||
filter.cpp | ||
filter.h | ||
formatter.h | ||
log.h | ||
log_entry.h | ||
text_formatter.cpp | ||
text_formatter.h | ||
types.h |