Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-11-07 06:47:58 +0300
committerChristopher Faylor <me@cgf.cx>2002-11-07 06:47:58 +0300
commit3c74b9edb9dd66d4e5e0a9f62ca16b160760650b (patch)
tree8037b403201916f6d223e6823950d31b146dd85a
parentfe0768c404b498d34cb07430c1ba13076b828ff8 (diff)
* include/cygwin/version.h: Bump API minor number for below export.unlabeled-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 5eeef7f35..7dc48a6e6 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);