aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand SIMONNET <bsimonnet@chromium.org>2014-09-26 15:38:16 -0700
committerMike Frysinger <vapier@gentoo.org>2015-02-26 01:33:03 -0500
commit687d7193812e3ebbf2e32f984564381e915f21f9 (patch)
tree73a562a931c1777ef3d7ceba55352aeb9122ae15
parentman: fix bold style with man page sections (diff)
downloadportage-687d7193812e3ebbf2e32f984564381e915f21f9.tar.gz
portage-687d7193812e3ebbf2e32f984564381e915f21f9.tar.bz2
portage-687d7193812e3ebbf2e32f984564381e915f21f9.zip
Do not interrupt on SIGCONT
SIGCONT signals should not interrupt any system calls (locking or wait pid for example). URL: http://crbug.com/417800 X-Gentoo-Bug-URL: https://bugs.gentoo.org/500436
-rw-r--r--pym/_emerge/Scheduler.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py
index d6db31108..6e3bf1acf 100644
--- a/pym/_emerge/Scheduler.py
+++ b/pym/_emerge/Scheduler.py
@@ -1017,6 +1017,7 @@ class Scheduler(PollScheduler):
earlier_sigterm_handler = signal.signal(signal.SIGTERM, sighandler)
earlier_sigcont_handler = \
signal.signal(signal.SIGCONT, self._sigcont_handler)
+ signal.siginterrupt(signal.SIGCONT, False)
try:
rval = self._merge()