#threads #sync

sigq

Queue that signals waiting consumers about node availability

5 unstable releases

0.11.0 Sep 9, 2022
0.10.2 Sep 1, 2021
0.10.1 Aug 25, 2021
0.9.1 Oct 12, 2020
0.9.0 Sep 24, 2020

#348 in Concurrency

22 downloads per month
Used in ump

0BSD license

6KB
118 lines

Signalling Queue

The signalling queue is a mutex protected queue which can signal waiting tasks/threads when new nodes have been pushed onto the queue.


lib.rs:

Queue which supports pushing and poping nodes from threads/tasks, crossing sync/async boundaries.

Dependencies

~0.8–5MB
~75K SLoC