summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-02-27 08:09:41 -0800
committerJan Kotas <jkotas@microsoft.com>2016-02-27 08:09:41 -0800
commit876ab1b42e9b489f3fbd0a37fca7559cf91eb836 (patch)
tree84184d02f757da4ecbb729fabe74968fdf96fc0f /src/pal
parent9c960c75fa44e247b31e37e09db056687415d3ff (diff)
parentf7c471478c21bf567dfbf12c99e43bb081ccb1e6 (diff)
downloadcoreclr-876ab1b42e9b489f3fbd0a37fca7559cf91eb836.tar.gz
coreclr-876ab1b42e9b489f3fbd0a37fca7559cf91eb836.tar.bz2
coreclr-876ab1b42e9b489f3fbd0a37fca7559cf91eb836.zip
Merge pull request #3409 from stephentoub/stop_masking_job_signals
Stop masking SIGTSTP and SIGCONT
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/src/thread/threadsusp.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pal/src/thread/threadsusp.cpp b/src/pal/src/thread/threadsusp.cpp
index 90a10f0ca7..0e92ec52af 100644
--- a/src/pal/src/thread/threadsusp.cpp
+++ b/src/pal/src/thread/threadsusp.cpp
@@ -792,7 +792,8 @@ CThreadSuspensionInfo::InitializeSignalSets()
// Note that SIGPROF is used by the BSD thread scheduler and masking it caused a
// significant reduction in performance. Note that SIGCHLD is used by Linux
// for parent->child process notifications, and masking it caused parents
- // not to recognize their children had died.
+ // not to recognize their children had died. Masking SIGTSTP and SIGCONT causes
+ // problems for job management.
sigaddset(&smDefaultmask, SIGHUP);
sigaddset(&smDefaultmask, SIGABRT);
#ifdef SIGEMT
@@ -801,8 +802,6 @@ CThreadSuspensionInfo::InitializeSignalSets()
sigaddset(&smDefaultmask, SIGSYS);
sigaddset(&smDefaultmask, SIGALRM);
sigaddset(&smDefaultmask, SIGURG);
- sigaddset(&smDefaultmask, SIGTSTP);
- sigaddset(&smDefaultmask, SIGCONT);
sigaddset(&smDefaultmask, SIGTTIN);
sigaddset(&smDefaultmask, SIGTTOU);
sigaddset(&smDefaultmask, SIGIO);