stdlib
1.5
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin.concurrent
/
read
read
JVM
inline
fun
<
T
>
ReentrantReadWriteLock
.
read
(
action
:
(
)
->
T
)
:
T
(
source
)
Executes the given
action
under the read lock of this lock.
Since Kotlin
1.0
Return
the return value of the action.