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

- Moved the signal block mask and the signal function table out of

signal_data.c and into signal_raise.c where they are actually used.
  This makes it possible to override the default definition of the
  __check_abort_enabled variable in your own programs.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14906 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-03-26 11:01:13 +00:00
parent 58d26ce8cb
commit df01f27551
3 changed files with 23 additions and 18 deletions

View File

@ -1,6 +1,11 @@
- The name of the public record locking semaphore has to be preallocated - The name of the public record locking semaphore has to be preallocated
for OS4 if the AllocSysObject() function is used to create it. for OS4 if the AllocSysObject() function is used to create it.
- Moved the signal block mask and the signal function table out of
signal_data.c and into signal_raise.c where they are actually used.
This makes it possible to override the default definition of the
__check_abort_enabled variable in your own programs.
c.lib 1.190 (25.3.2005) c.lib 1.190 (25.3.2005)

View File

@ -1,5 +1,5 @@
/* /*
* $Id: signal_data.c,v 1.4 2005-01-09 10:10:41 obarthel Exp $ * $Id: signal_data.c,v 1.5 2005-03-26 11:01:13 obarthel Exp $
* *
* :ts=4 * :ts=4
* *
@ -37,20 +37,4 @@
/****************************************************************************/ /****************************************************************************/
signal_handler_t __signal_handler_table[NUM_SIGNALS] =
{
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL
};
/****************************************************************************/
int __signals_blocked;
/****************************************************************************/
BOOL __check_abort_enabled = TRUE; BOOL __check_abort_enabled = TRUE;

View File

@ -1,5 +1,5 @@
/* /*
* $Id: signal_raise.c,v 1.4 2005-02-03 16:56:15 obarthel Exp $ * $Id: signal_raise.c,v 1.5 2005-03-26 11:01:13 obarthel Exp $
* *
* :ts=4 * :ts=4
* *
@ -37,6 +37,22 @@
/****************************************************************************/ /****************************************************************************/
signal_handler_t __signal_handler_table[NUM_SIGNALS] =
{
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL,
SIG_DFL
};
/****************************************************************************/
int __signals_blocked;
/****************************************************************************/
int int
raise(int sig) raise(int sig)
{ {