On 02/07/2011 05:03 PM, Marcelo Tosatti wrote:
Is there any other issue that prevents turning CONFIG_IOTHREAD on by
default?

I think Windows support.

Signal support is actually easy because we can "hack" the IPI as "suspend the VCPU thread+do work in the iothread context+resume the VCPU thread" (the IPI handler doesn't longjmp).

Threading primitives support is tricky but not hard (there is lots of code around, especially if you can make assumptions such as "always hold the mutex while signaling a cond. variable").

Paolo

Reply via email to