#thread #lock #park #waker

suspend-core

Primitives for parking a thread and awaiting a notification

1 unstable release

0.1.0 Dec 30, 2020

#12 in #park


Used in suspend-channel

MIT/Apache

39KB
940 lines

suspend-core

This crate provides primitives for parking a thread and awaiting a notification.

Documentation

You can read the docs here, or generate them on your own using cargo doc.

License

Licensed under either of

at your option. Copyright 2020 Andrew Whitehead.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Core utilities for suspending execution and waiting on results.

Dependencies

~340–510KB