[Spice-devel] Simple question about channels in spice-gtk

Marc-André Lureau mlureau at redhat.com
Wed Oct 5 04:18:27 PDT 2011


Hi

----- Original Message -----

> I) doesn't benefit it. Thread pools for long CPU tasks however are

^^ I meant IO.

Btw, it was also very easy to turn a traditional blocking code into a coroutine code. I didn't have to think about what needs locks etc.. It was basically the same code, but implementing a new receive/send method. Switching to threads require a better understanding of shared structure, which is something I don't have clear, and certainly didn't have when I just started working on Spice and introduced the coroutines.

regards


More information about the Spice-devel mailing list