is properly restored after signal.
+2002-12-25 Christopher Faylor <cgf@redhat.com>
+
+ * cygthread.cc (cygthread::detach): Set errno with set_sig_errno so
+ that EINTR is properly restored after signal.
+
2002-12-21 Christopher Faylor <cgf@redhat.com>
* Makefile.in: Default fhandler objects to -fomit-frame-pointer.
else
{
terminate_thread ();
- set_errno (EINTR); /* caller should be dealing with return
+ set_sig_errno (EINTR); /* caller should be dealing with return
values. */
avail = 0;
signalled = true;