Learn R Programming

bigmemory (version 3.12)

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).

Arguments

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 contact us if you have questions.

See Also

big.matrix, shared.big.matrix, filebacked.big.matrix, rw.mutex, attach.rw.mutex, rlock, rwlock, unlock.

Examples

Run this code
showClass("rw.mutex")

Run the code above in your browser using DataLab