rw.mutex-class {bigmemory}R Documentation

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

Slots

address:
Object of class "externalptr" ~~

Methods

describe
signature(x = "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.

Author(s)

Michael J. Kane and John W. Emerson

References

*nix system libraries pthread, ipc, and shm.

See Also

big.matrix, shared.big.matrix.

Examples

showClass("rw.mutex")

[Package bigmemory version 2.3 Index]