aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-07 03:47:58 +0000
committerChristopher Faylor <me@cgf.cx>2002-11-07 03:47:58 +0000
commit3c74b9edb9dd66d4e5e0a9f62ca16b160760650b (patch)
tree8037b403201916f6d223e6823950d31b146dd85a
parentfe0768c404b498d34cb07430c1ba13076b828ff8 (diff)
downloadnewlib-3c74b9edb9dd66d4e5e0a9f62ca16b160760650b.zip
newlib-3c74b9edb9dd66d4e5e0a9f62ca16b160760650b.tar.gz
newlib-3c74b9edb9dd66d4e5e0a9f62ca16b160760650b.tar.bz2
* include/cygwin/version.h: Bump API minor number for below export.github/unlabeled-1.125.2unlabeled-1.125.2
* cygwin.din (pututline): New exported function. * syscalls.cc (login): Use pututiline(). (setutent): Open utmp as read/write. (endutent): Check if utmp file is open. (utmpname): call endutent() to close current utmp file. (getutid): Enable all cases, use strncmp() to compare ut_id fields. (pututline): New. * tty.cc (create_tty_master): Set ut_pid to current pid. * fhandler.h (fhandler_serial::vmin_): Declare as size_t. * fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for minchars. (fhandler_serial::ioctl): Set errno if the ClearCommError fails. (fhandler_serial::tcsetattr): Use correct value for vmin_. (fhandler_serial::tcgetattr): Ditto. * fhandler_socket.cc (fhandler_socket::recvmsg): Call if from == NULL WSARecvFrom with fromlen = NULL.
-rw-r--r--winsup/cygwin/sigproc.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 5eeef7f..7dc48a6 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -41,7 +41,7 @@ details. */
#define WSPX 20000 // Wait for wait_sig to terminate
#define WWSP 20000 // Wait for wait_subproc to terminate
-#define WAIT_SIG_PRIORITY THREAD_PRIORITY_NORMAL
+#define WAIT_SIG_PRIORITY THREAD_PRIORITY_TIME_CRITICAL
#define TOTSIGS (NSIG + __SIGOFFSET)
@@ -1014,15 +1014,6 @@ stopped_or_terminated (waitq *parent_w, _pinfo *child)
return -potential_match;
}
-static void
-talktome ()
-{
- winpids pids;
- for (unsigned i = 0; i < pids.npids; i++)
- if (pids[i]->hello_pid == myself->pid)
- pids[i]->commune_recv ();
-}
-
/* Process signals by waiting for a semaphore to become signaled.
* Then scan an in-memory array representing queued signals.
* Executes in a separate thread.
@@ -1152,10 +1143,6 @@ wait_sig (VOID *self)
strace.hello ();
break;
- case __SIGCOMMUNE:
- talktome ();
- break;
-
/* A normal UNIX signal */
default:
sigproc_printf ("Got signal %d", sig);