pinned_sync

Crates.iopinned_sync
lib.rspinned_sync
version0.0.1
sourcesrc
created_at2021-07-01 20:27:55.194934
updated_at2021-07-01 20:27:55.194934
descriptionThis crate implements pinned synchronization primitives.
homepage
repositoryhttps://github.com/nicbn/pinned-sync
max_upload_size
id417587
size96,808
N. Nattis (nicbn)

documentation

README

Pinned synchronization primitives for Rust

This crate implements pinned synchronization primitives.

Limitations

As this is only a proof-of-concept and the goal is to have this in std, where we can better integrate with std codebase, there are some limitations to this crate, for example:

  • There is redundancy all around.
  • The guards for mutex and rwlock are not the same as the ones from std.
  • Therefore, we can not integrate Condvar with std primitives, or std Condvar with new primitives.

Tests and documentations are mostly copy-pasted from the std library.

License

Licensed under either of

at your option.

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.

Commit count: 5

cargo fmt