ReentrantLock
Port of java.util.concurrent.locks.ReentrantLock.
Use platform-specific actual implementations so JVM code can rely on the real JDK lock semantics while native continues using the shared coroutine-backed port.
Functions
Link copied to clipboard
Link copied to clipboard
Acquires the lock unless the current thread is interrupted.
Link copied to clipboard
Returns a new Condition instance that is bound to this Lock instance.
Link copied to clipboard