2006-07-07 Corinna Vinschen <corinna@vinschen.de>
+ * fhandler_socket.cc (fhandler_socket::wait): Disable SA_RESTART
+ handling for now.
+
+2006-07-07 Corinna Vinschen <corinna@vinschen.de>
+
* Makefile.in (DLL_OFILES): Add inet_addr.o and inet_network.o.
* autoload.cc (inet_addr): Drop definition.
(inet_ntoa): Ditto.
WSAEVENT ev[2] = { event, signal_arrived };
WSANETWORKEVENTS evts;
+#if 0 /* Not yet. Not this way. */
/* If WSAWaitForMultipleEvents is interrupted by a signal, and the signal
has the SA_RESTART flag set, return to this label and... restart. */
sa_restart:
+#endif
switch (WSAWaitForMultipleEvents (2, ev, FALSE, timeout, FALSE))
{
}
break;
case WSA_WAIT_EVENT_0 + 1:
+#if 0 /* Not yet. Not this way. */
if (_my_tls.call_signal_handler ())
{
sig_dispatch_pending ();
goto sa_restart;
}
+#endif
WSASetLastError (WSAEINTR);
break;
default: