rw.mutex-class {bigmemory} | R Documentation |
Support for read/write mutual exclusions for objects in shared memory (separately from the mutexes used with shared matrices).
Objects can be created by calls of the form new("rw.mutex", ...)
.
address
:"externalptr"
~~ signature(x = "rw.mutex")
: ...
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.
Michael J. Kane and John W. Emerson
*nix system libraries pthread, ipc, and shm.
big.matrix
, shared.big.matrix
.
showClass("rw.mutex")