1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- The default break signal mask (SIGBREAKF_CTRL_C) is no longer

hard-coded. You can override it at link time with a different
  variable value for __break_signal_mask. This may have to be
  augmented by an API for changing the value.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15094 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-04-05 08:39:46 +00:00
parent 55ab845de0
commit 91b4f288f9
13 changed files with 94 additions and 29 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: signal_kill.c,v 1.7 2006-01-08 12:04:24 obarthel Exp $
* $Id: signal_kill.c,v 1.8 2006-04-05 08:39:45 obarthel Exp $
*
* :ts=4
*
@ -80,7 +80,7 @@ kill(pid_t pid, int signal_number)
SHOWMSG("found the process");
if(signal_number == SIGTERM || signal_number == SIGINT)
Signal((struct Task *)pid,SIGBREAKF_CTRL_C);
Signal((struct Task *)pid,__break_signal_mask);
else
SHOWMSG("but won't shut it down");
}