korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-concurrent
/
korlibs.concurrent.lock
/
LockImpl
Lock
Impl
abstract
class
LockImpl
:
BaseLockWithNotifyAndWait
Reentrant typical lock.
Inheritors
Lock
Members
Constructors
Lock
Impl
Link copied to clipboard
constructor
(
)
Functions
lock
Unlock
Link copied to clipboard
inline
fun
<
T
>
lockUnlock
(
callback
:
(
)
->
T
)
:
T
notify
Link copied to clipboard
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
wait
Link copied to clipboard
open
fun
wait
(
time
:
Duration
)
open
override
fun
wait
(
time
:
FastDuration
)