llvm::AdvisoryLock::waitForUnlockFor

For a lock owned by someone else, wait until it is unlocked.

Synopsis

Declared in <llvm/Support/AdvisoryLock.h>

virtual
WaitForUnlockResult
waitForUnlockFor(std::chrono::seconds MaxSeconds) = 0;

Return Value

the result of waiting, such as success, owner death, or timeout.

Parameters

NameDescription
MaxSecondsthe maximum total wait time in seconds.