inline suspend fun <T> Mutex.withLock( owner: Any? = null, action: () -> T): T
Platform and version requirements: JVM
Executes the given action under this mutex’s lock.
owner - Optional owner token for debugging.
owner
Return the return value of the action.