diff options
author | Christopher Faylor <me@cgf.cx> | 2013-04-30 23:51:08 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-04-30 23:51:08 +0000 |
commit | 3cb9da14617c58c2821c80d48f0bd80a2deb5fdf (patch) | |
tree | 33a5c8c366c63360a766696505b74d29a320d3bb /libgloss/debug.c | |
parent | cc5bdf003f650ce5938640c4dd1ffd84259dcc42 (diff) | |
download | cygnal-3cb9da14617c58c2821c80d48f0bd80a2deb5fdf.tar.gz cygnal-3cb9da14617c58c2821c80d48f0bd80a2deb5fdf.tar.bz2 cygnal-3cb9da14617c58c2821c80d48f0bd80a2deb5fdf.zip |
* spawn.cc (system_call_cleanup): Rename from pthread_cleanup. Extend
functionality.
(system_call_cleanup::system_call_cleanup): Set up signals like system()
requires. Unblock previously-blocked signal handling.
(system_call_cleanup::~system_call_cleanup): Restore signal handling after
system().
(child_info_spawn::worker): Put signals on hold and use system_call_cleanup
class to set and restore signals rather than doing it prior to to running the
program. Remove the ill-conceived pthread_cleanup stuff.
Diffstat (limited to 'libgloss/debug.c')
0 files changed, 0 insertions, 0 deletions