lazy_ref
Implements a non-blocking synchronization primitive for lazy-initialized immutable references.
Usage
Writing to a LazyRef
from separate threads:
use *;
use LazyRef;
let lazy_ref = new;
let thread_ids: = vec!;
thread_ids.par_iter
.for_each;
let x = lazy_ref.get.unwrap;
assert!;