Crate sync_stack

Source
Expand description

Provides a synchronisation primitive simmilar to a Semaphore in SyncStack.

Calling SyncStack::park will park the current thread on top of the stack where it will wait until it has been popped off the stack by a call to SyncStack::pop.

Author — daniel.bechaz@gmail.com
Last Moddified — 2019-06-14

Structs§

SyncStack
A stack of blocked threads.

Traits§

Park
An handle used to unpark a thread.