Here is what I applied. Thanks!
2012-05-21 Paolo Bonzini
poll/select: prevent busy-waiting. SwitchToThread() only gives away
the rest of the current time slice to another thread in the current
process. So if the thread that feeds the file decscriptor we're
pol
On Fri, May 18, 2012 at 9:40 AM, Paolo Bonzini wrote:
> Il 16/05/2012 21:16, Erik Faye-Lund ha scritto:
>> From: theoleblond
>>
>> SwitchToThread() only gives away the rest of the current time
>> slice to another thread in the current process. So if the
>> thread that feeds the file decscriptor w
Il 16/05/2012 21:16, Erik Faye-Lund ha scritto:
> From: theoleblond
>
> SwitchToThread() only gives away the rest of the current time
> slice to another thread in the current process. So if the
> thread that feeds the file decscriptor we're polling is not
> in the current process, we get busy-wai
From: theoleblond
SwitchToThread() only gives away the rest of the current time
slice to another thread in the current process. So if the
thread that feeds the file decscriptor we're polling is not
in the current process, we get busy-waiting. This can lead
to very poor performance in some cases,