I meant, does the coroutine will do yield internally when it get blocked on send(3)?
On Fri, Nov 28, 2014 at 1:50 PM, Iwan Budi Kusnanto <i...@labhijau.net> wrote: > Hi all, > > I just found about coroutine in Qemu and it looks good for my use case. > I have a question about this. > I found this > "Coroutines are cooperatively scheduled threads of control. There is > no preemption timer that switches between coroutines periodically, > instead switching between coroutines is always explicit. Coroutines > run until termination or an explicit yield." > at http://blog.vmsplice.net/2014/01/coroutines-in-qemu-basics.html > > How about the case where we do blocking send(3) on socket? > > Regards, > > -- > Iwan Budi Kusnanto -- Iwan Budi Kusnanto