tmp/mgrmakelock: Create an 'Rdsm' lock.

mgrmakelockR Documentation

Create an Rdsm lock.

Description

Creates an Rdsm lock.

Usage

mgrmakelock(cls,lockname,boost=F)

Arguments

cls

The parallel cluster.

lockname

Name of the lock, quoted.

boost

If TRUE, boost locks will be used.

Details

Run this from the manager (the R process from which you create the cluster) if you need a lock. The lock is created, lockable/unlockable by all threads. If boost is TRUE, The variable will be of class boost.mutex; see the library synchronicity for details.

Author(s)

Norm Matloff


matloff/Rdsm documentation built on June 13, 2025, 8 p.m.