Crates.io | try-rwlock |
lib.rs | try-rwlock |
version | 0.1.2 |
source | src |
created_at | 2020-11-14 14:32:50.633218 |
updated_at | 2022-08-20 10:46:27.605649 |
description | Fast non-blocking readers-writer lock |
homepage | |
repository | https://github.com/SabrinaJewson/try-rwlock |
max_upload_size | |
id | 312347 |
size | 14,762 |
TryRwLock
is a lightweight readers-writer lock implemented with atomics that does not support
blocking.
A readers-writer lock allows multiple readers or one writer to access it at a time.
try-lock
and
try-mutex
provide a similar function to this, but
implement mutexes not readers-writer locks.
License: MIT OR Apache-2.0