core / pragma.utils / AlertingMutex / lock /

lock #

open suspend override fun lock(owner: Any?)

In addition to obtaining the lock, this method also starts a coroutine that will log a warning after 5000 ms.

Parameters #

owner

see kotlinx.coroutines.sync.Mutex.lock]