kotlin-stdlib
Common
JRE
JS
kotlin-stdlib
/
kotlin
/
synchronized
synchronized
Common
JRE
JS
expect
inline
fun
<
R
>
synchronized
(
lock
:
Any
,
block
:
(
)
->
R
)
:
R
Content copied to clipboard
actual
inline
fun
<
R
>
synchronized
(
lock
:
Any
,
block
:
(
)
->
R
)
:
R
Content copied to clipboard
Executes the given function
block
while holding the monitor of the given object
lock
.
actual
inline
fun
<
R
>
synchronized
(
lock
:
Any
,
block
:
(
)
->
R
)
:
R
Content copied to clipboard