orphan-crippler

Crates.ioorphan-crippler
lib.rsorphan-crippler
version0.1.6
sourcesrc
created_at2021-02-22 19:21:24.629766
updated_at2023-03-30 22:31:04.461465
descriptionTwo-way oneshot channel for task abstraction
homepagehttps://github.com/notgull/orphan-crippler#readme
repositoryhttps://github.com/notgull/orphan-crippler
max_upload_size
id359118
size16,568
John Nunley (notgull)

documentation

README

Deprecated

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.

orphan-crippler

Build Status crates.io Docs

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.

Features

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.

License

MIT/Apache2 License

Commit count: 16

cargo fmt