ruby-cvs:19452
From: usa ruby-lang.org
Date: Wed, 25 Apr 2007 15:28:21 +0900 (JST)
Subject: [ruby-cvs:19452] Ruby:r12216: * win32/win32.c (NtInitialize, exit_handler): add initializing and
usa 2007-04-25 15:28:20 +0900 (Wed, 25 Apr 2007)
New Revision: 12216
Modified files:
trunk/ChangeLog
trunk/win32/win32.c
Log:
* win32/win32.c (NtInitialize, exit_handler): add initializing and
cleanup of critical section object for select.
* win32/win32.c (do_select): block reentrance.
* win32/win32.c (rb_w32_select): 0 sec polling of socket. this is
workaround because winsock cannot do select at same socket at the
same time by two or more threads.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/win32/win32.c?r1=12216&r2=12215
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12216&r2=12215