|
From: | Paolo Bonzini |
Subject: | Re: [PATCH] select/poll: distinguish input buffers and screen buffers (was Re: [PATCH] select/poll Wine bug workaround) |
Date: | Wed, 05 Aug 2009 23:19:46 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 08/05/2009 10:19 PM, Paolo Bonzini wrote:
Here is the patch. The point is to distinguish whether console handles are opened for input ("input buffers") or output ("screen buffers"), and avoid waiting on the latter. The reason is that the screen buffers can be waited on---and the effect is the same as waiting on the corresponding input buffer! It seems to work (tests and GNU Smalltalk) but I'll wait for a short while before committing it, in case someone wants to review it.
And after 60 minutes of suspence, the attachment. Paolo
poll-console-rewrite.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |