Are coroutines context-switching-free under the ho...
# coroutines
l
Are coroutines context-switching-free under the hood? Suppose we launched some coroutines with the
Dispatchers.DEFAULT
dispatcher. Do threads work independently and pick up available coroutines by some atomic operation, or do they switch the context to a common thread to get available coroutines from? (I did my research but there was no clear answer)