Join Slack
Powered by
I was actually referring to the example on the pag...
# coroutines
u
uhe
03/02/2017, 6:23 PM
I was actually referring to the example on the page:
Copy code
mutex.lock() try { counter++ } finally { mutex.unlock() }
and I just thought it would be obvious to have a
Mutex.withLock
extension to simplify that
Open in Slack
Previous
Next