bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] select/poll Wine bug workaround


From: Paolo Bonzini
Subject: [PATCH] select/poll Wine bug workaround
Date: Tue, 04 Aug 2009 18:20:29 +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

In GNU Smalltalk I had a bug where somehow the wineserver would start reporting ERROR_INVALID_HANDLE for console handles after a WaitForSingleObject. This patch works around it by not calling WaitForSingleObject except if really necessary, which is a good idea anyway.

I also save WSAEnumNetworkEvents system calls for console objects, since they are easily recognizable from other Win32 handles.

Paolo

Attachment: gnulib-select-poll-workaround.patch
Description: Text document


reply via email to

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