#rw-lock #reading #variant #sync #refcell #cell #opened

sublock

Variants of RwLock/RefCell that support sublocks, opened for reading if the main RwLock is opened for reading, opened for writing if the main RwLock is opened for writing

3 unstable releases

Uses old Rust 2015

0.2.0 Feb 21, 2019
0.1.1 Apr 13, 2016
0.1.0 Mar 30, 2016

#800 in Concurrency

MPL-2.0 license

20KB
282 lines

Build Status

Documentation

Variants of RwLock that support sublocks, opened for reading if the main RwLock is opened for reading, opened for writing if the main RwLock is opened for writing.

This crate has been designed to permit refactoring of code using RefCell into Sync code.


lib.rs:

A crate designed to allow batch-locking/batch-unlocking of groups of locks.

This crate was initially designed to permit refactoring of code using RefCell into Sync code.

No runtime deps