[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] select/poll: distinguish input buffers and screen buffers (was R

From: Paolo Bonzini
Subject: [PATCH] select/poll: distinguish input buffers and screen buffers (was Re: [PATCH] select/poll Wine bug workaround)
Date: Wed, 05 Aug 2009 22:19:28 +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

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]