spinLock

fun Mutex.spinLock()

Locks the mutex with a while loop. WARNING: This blocks the current thread!