Registry / concurrency / raw-sync

raw-sync

JSON →
library0.1.5rscratesunverified

Lightweight wrapper around OS synchronization primitives like mutexes and semaphores.

# Cargo.toml [dependencies] raw_sync = "0.1.5"
INSTALL
IMPORT
SIG · RAW-SYNC
R
raw-sync
concurrencyrustv0.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mutex
use raw_sync::Mutex;

Use a raw mutex to protect shared data

use raw_sync::Mutex; fn main() { let mutex = Mutex::new(0u32); let mut guard = mutex.lock().unwrap(); *guard += 1; println!("Value: {}", *guard); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
raw-sync — cargo add raw-sync · libregistry