rw.mutex-class: Mutual exclusions (mutexes) for shared memory.
Description
Support for read/write mutual exclusions for objects in shared memory (separately from the mutexes used with shared matrices).Objects from the Class
Objects can be created by calls of the form new("rw.mutex", ...)
.Warning
Mutexes are not for the faint of heart. But if you want an additional set of locks
beyond those already implemented with a shared matrix, you'll need this.
We recommend you look at the documentation in shared.big.matrix
, or contact us if you
have questions.References
*nix system libraries pthread, ipc, and shm.