llvm::AdvisoryLock::unsafeUnlock

For a lock owned by someone else, unlock it.

Synopsis

Declared in <llvm/Support/AdvisoryLock.h>

virtual
std::error_code
unsafeUnlock() = 0;

Description

A permitted side-effect is that another thread/process may acquire ownership of the lock before the existing owner unlocks it. This is an unsafe operation.

Return Value

an error code describing the outcome of the unlock attempt.