korlibs
Toggle table of contents
6.1.0-SNAPSHOT
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
Target filter
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
Switch theme
Search in API
Skip to content
korlibs
korlibs-concurrent
/
korlibs.concurrent.lock
/
Lock
Lock
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
actual
class
Lock
:
BaseLockWithNotifyAndWait
expect
class
Lock
:
BaseLockWithNotifyAndWait
actual
class
Lock
:
LockImpl
,
BaseLockWithNotifyAndWait
actual
class
Lock
:
BaseLockWithNotifyAndWait
actual
class
Lock
:
BaseLockWithNotifyAndWait
actual
class
Lock
:
BaseLockWithNotifyAndWait
actual
class
Lock
:
LockImpl
,
BaseLockWithNotifyAndWait
Members
Members & Extensions
Constructors
Lock
Link copied to clipboard
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
actual
constructor
(
)
expect
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
actual
constructor
(
)
Types
Companion
Link copied to clipboard
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
actual
object
Companion
expect
object
Companion
actual
object
Companion
actual
object
Companion
actual
object
Companion
actual
object
Companion
actual
object
Companion
Functions
invoke
Link copied to clipboard
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
expect
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
actual
inline operator
fun
<
T
>
invoke
(
callback
:
(
)
->
T
)
:
T
lock
Unlock
Link copied to clipboard
js
wasmJs
inline
fun
<
T
>
lockUnlock
(
callback
:
(
)
->
T
)
:
T
inline
fun
<
T
>
lockUnlock
(
callback
:
(
)
->
T
)
:
T
notify
Link copied to clipboard
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
actual
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
expect
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
actual
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
actual
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
actual
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
open
override
fun
notify
(
unit
:
Unit
=
Unit
)
notify
Link copied to clipboard
inline
fun
<
T
>
Lock
.
notify
(
block
:
(
)
->
T
)
:
T
wait
Link copied to clipboard
apple
common
js
jvmAndAndroid
linux
mingw
wasmJs
open
fun
wait
(
time
:
Duration
)
actual
open
override
fun
wait
(
time
:
FastDuration
)
open
fun
wait
(
time
:
Duration
)
expect
open
override
fun
wait
(
time
:
FastDuration
)
open
fun
wait
(
time
:
Duration
)
open
override
fun
wait
(
time
:
FastDuration
)
abstract
fun
wait
(
time
:
korlibs/time/FastDuration
)
open
fun
wait
(
time
:
kotlin/time/Duration
)
actual
open
override
fun
wait
(
time
:
ERROR CLASS: Symbol not found for FastDuration
)
open
fun
wait
(
time
:
Duration
)
actual
open
override
fun
wait
(
time
:
FastDuration
)
open
fun
wait
(
time
:
Duration
)
actual
open
override
fun
wait
(
time
:
FastDuration
)
open
fun
wait
(
time
:
Duration
)
open
override
fun
wait
(
time
:
FastDuration
)
wait
Forever
Link copied to clipboard
fun
Lock
.
waitForever
(
)
wait
Forever
No
Lock
Link copied to clipboard
fun
Lock
.
waitForeverNoLock
(
)