cancel is cheap and is completely lock-free by its...
# coroutines
e
cancel is cheap and is completely lock-free by itself. It just schedules cancelled coroutines for execution of their finally blocks. It might take a while to execute only if you use Unconfined context, which does not have its own executor and thus will be executed in cancelling thread directly.