MCPcopy Create free account
hub / github.com/RcppCore/RcppParallel / lock

Method lock

inst/include/tthread/fast_mutex.h:120–142  ·  view source on GitHub ↗

Lock the mutex. The method will block the calling thread until a lock on the mutex can be obtained. The mutex remains locked until \c unlock() is called. @see lock_guard

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

try_lockFunction · 0.85

Tested by

no test coverage detected