| Crates.io | raw_sync_2 |
| lib.rs | raw_sync_2 |
| version | 0.1.5 |
| created_at | 2023-03-17 12:52:04.244605+00 |
| updated_at | 2023-03-17 12:52:04.244605+00 |
| description | Lightweight wrapper around OS synchronization primitives |
| homepage | |
| repository | https://github.com/elast0ny/raw_sync-rs |
| max_upload_size | |
| id | 812687 |
| size | 54,354 |
Pushed new version of raw_sync based on https://github.com/elast0ny/raw_sync-rs/pull/29 fix.
This crate provides a lightweight wrapper around OS synchronization primitives.
It was mainly developed to be used with the shared_memory crate for cross-process synchronization through shared memory.
| Feature | Description | Linux | Windows | Mac |
|---|---|---|---|---|
| Mutex | Mutually exclusive lock | ✔ | ✔ | ✔ |
| RwLock | Exclusive write/shared read | ✔ | X | ✔ |
| Feature | Description | Linux | Windows | Mac |
|---|---|---|---|---|
| Event | Generic event : pthread_cond on Unix and Event Objects on windows. | ✔ | ✔ | ✔ |
| BusyEvent | Busy event implemented by polling a byte in a loop | ✔ | ✔ | ✔ |
| EventFd | Linux specific event type | TODO | N/A | N/A |
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.