Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

bread-graphics/orphan-crippler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Two-way oneshot channels for task abstraction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages