For a lock owned by someone else, wait until it is unlocked.
Declared in <llvm/Support/AdvisoryLock.h>
virtual
WaitForUnlockResult
waitForUnlockFor(std::chrono::seconds MaxSeconds) = 0;
the result of waiting, such as success, owner death, or timeout.
| Name | Description |
|---|---|
| MaxSeconds | the maximum total wait time in seconds. |