Crates.io | sync-stack |
lib.rs | sync-stack |
version | 0.1.0 |
source | src |
created_at | 2019-06-14 17:41:44.563145 |
updated_at | 2019-06-14 17:41:44.563145 |
description | A synchronisation primitive which allows threads to park and unpark |
homepage | |
repository | https://github.com/Dynisious/sync-stack |
max_upload_size | |
id | 141156 |
size | 44,256 |
Provides a synchronisation primitive simmilar to a Semaphore in SyncStack
.
The SyncStack
is a useful when implementing other synchronisation primitives in place of a wait loop; allowing threads to wait for some resource to become available by calling SyncStack::park
and be notified when another thread calls SyncStack::pop
later.
Author --- daniel.bechaz@gmail.com
Last Moddified --- 2019-06-14