Crates.io | orphan-crippler |
lib.rs | orphan-crippler |
version | 0.1.6 |
source | src |
created_at | 2021-02-22 19:21:24.629766 |
updated_at | 2023-03-30 22:31:04.461465 |
description | Two-way oneshot channel for task abstraction |
homepage | https://github.com/notgull/orphan-crippler#readme |
repository | https://github.com/notgull/orphan-crippler |
max_upload_size | |
id | 359118 |
size | 16,568 |
crossbeam_channel
and async_channel
have more efficient and more well-tested single-item channels than this crate does. From this point on, this crate is deprecated.
The orphan-crippler
crate is designed to assist in building abstractions where work is offloaded to another
thread, for reasons such as blocking or OS-specific threads. For this reason, orphan-crippler
implements the
Two-Way Oneshot (two
) channel type, that allows one to send data to another thread and get more data in
response.
The optional parking_lot
feature replaces the usual std::sync::Mutex
usage in this crate with those from
the parking_lot
crate. This pulls in a handful of other dependencies and is only really recommended if you are
already using parking_lot
elsewhere in your application.
MIT/Apache2 License