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:
-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);