Module gstuff::oneshot [−][src]
Reason for having this is that neither multiqueue
nor crossbeam_channel
implement UnwindSafe currently.
cf. https://github.com/crossbeam-rs/crossbeam-channel/issues/25.
Condvar is hopefully unwind-save since it's using a poisoning Mutex. Should unit-test it though.
Structs
Receiver |
Returns the value from the channel. |
Sender |
Accepts one value into the channel. |
Functions
oneshot |
Create a new oneshot channel. |