A lock that allows for an unlimited number of concurrent readers, which are never blocked. Only one writer can access the resource at a time.
Examples
use ;
// Create a new RcuLock protecting a piece of data, in this case a number (u32).
let data: = new;
assert_eq!;
// After the write guard is dropped, the state of the resource
// as the writer sees it is atomically stored back into the master RcuLock.
assert_eq!;