holdsLock

abstract fun holdsLock(owner: Any): Boolean

Checks mutex locked by owner

Return

true on mutex lock by owner, false if not locker or it is locked by different owner

Sources

Link copied to clipboard