Crate page_lock

Crate page_lock 

Source
Expand description

Docs

An async library for locking page address.

You may want to use this library to lock spacific page address. (For example database)

§Example

Add this to your project’s Cargo.toml file.

[dependencies]
page-lock = "3"

Structs§

Mutex
Super-fast asynchronous mutex implementation. Implementation is based on the Binary Semaphore algorithm.
ReadGuard
RwLock
UntilUnlocked
WriteGuard