Files
kumomta/docs/reference
Wez Furlong 6a05a65f73 mpsc: provide shutdown event and clarify single-consumer parts
It was possible to deadlock your policy by triggering queue
length/emptiness checks conurrently with the queue consumer thread.

Let's make it more explicitly clear which methods cannot be used that
way by making their mutex acquisition non-blocking and raise an error.

In addition, let's improve the close method so that it doesn't require
exclusive access to the consumer side of the queue.

Provide a shutdown_logging event that can be used to explicitly close
queues on shutdown, if that is appropriate for your use case.
2025-07-29 15:22:51 +01:00
..
2025-07-26 13:30:00 +01:00
2025-07-22 09:08:18 +01:00
2025-07-23 16:51:06 +01:00
2023-02-25 10:50:58 -07:00
2025-07-26 13:30:00 +01:00
2024-12-18 06:41:45 -07:00