[][src]Crate sublock

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.

Modules

cell

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

sync

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.