read

Executes the given action under the read lock of this lock.

Since Kotlin

1.0

Return

the return value of the action.