[Win32utils-devel] rb_w32_select function patch

Daniel Berger djberg96 at gmail.com
Tue Apr 29 08:24:37 EDT 2008


Heesob Park wrote:
> Hi,
> 
> 2008/4/29 Luis Lavena <luislavena at gmail.com>:
>> On Tue, Apr 29, 2008 at 2:53 AM, Heesob Park <phasis at gmail.com> wrote:
>>> Hi,
>>>
>>> [snip]
>>>  I added some safe check code.
>>>  Here is diff -u output:
>>>
>> Hello Park,
>>
>> I just tested your patch for rb_w32_select and found, even gets() is
>> no longer blocking other threads from being executed, everything stops
>> when you start typing something...
>>
>> Compared to other other platforms, the behavior differs, so maybe is
>> not the best solution...
>>
>> I thought your previous patch (2005, 2006 maybe?) workaround that
>> issue. But don't remember quite right.
>>
> That patch is not working well as you expected.
> 
>> In any case, this looks good, one step closer :-)
>>
>> (btw, platform i386-mingw32)
>>
> Here is a modified version for two step closer :)

<snip>

That works. Passes my (limited) thread test suite, too. :)

Awesome. Many thanks. I'll commit this in the CVS repo for Sapphire.

Dan


More information about the win32utils-devel mailing list