diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-09-21 15:22:52 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-09-22 12:01:05 +0100 |
commit | 80a1aca0d2fad9d151a66ae5e612b96172bd5cbe (patch) | |
tree | 410568c66715f29e426002ac162d08118e74ac44 /NEWS | |
parent | a4fa14849a7e310d135732142df2439f8f820483 (diff) | |
download | coreutils-80a1aca0d2fad9d151a66ae5e612b96172bd5cbe.tar.xz |
timeout: handle implicitly created threads
On some systems like glibc on GNU/kFreeBSD, a thread is
implicitly created when timer_settime() is used.
This breaks our scheme to ignore signals we've
sent ourselves.
* src/timeout.c (send_sig): Change the scheme used to
ignore signals we've sent ourselves, to a more robust
but perhaps limited scheme of ignoring all signals of
a certain type after we've sent that signal to the job.
* NEWS: Mention the change in behavior.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ GNU coreutils NEWS -*- outline -*- more than PATH_MAX / 3 components. Also affected due to their use of canonicalize_* functions: df, stat, readlink. +** Changes in behavior + + timeout now only processes the first signal received from the set + it is handling (SIGTERM, SIGINT, ...). This is to support systems that + implicitly create threads for some timer functions (like GNU/kFreeBSD). + * Noteworthy changes in release 8.13 (2011-09-08) [stable] |