Learn R Programming

synchronicity (version 1.3.10)

shared: Is it a shared mutex?

Description

Tells the user if a mutex is a shared mutex. If it is not then it must be a write (exclusive) mutex.

Usage

shared(m)

# S4 method for boost.mutex shared(m)

Value

TRUE if the mutex is shared, FALSE otherwise.

Arguments

m

the mutex