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

Function try_lock

inst/include/tthread/tinythread.h:205–218  ·  view source on GitHub ↗

Try to lock the mutex. The method will try to lock the mutex. If it fails, the function will return immediately (non-blocking). @return @c true if the lock was acquired, or @c false if the lock could not be acquired.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

lockMethod · 0.85
lockMethod · 0.85
lockMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected