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: stdio_record_locking.c,v 1.15 2006-01-08 12:04:25 obarthel Exp $
* $Id: stdio_record_locking.c,v 1.16 2006-04-05 08:39:45 obarthel Exp $
*
* :ts=4
*
@ -1031,7 +1031,7 @@ __handle_record_locking(int cmd,struct flock * l,struct fd * fd,int * error_ptr)
const int rand_max = RAND_MAX / 65536;
int num_random_ticks;
if(__check_abort_enabled && (SetSignal(0,0) & SIGBREAKF_CTRL_C) != 0)
if(__check_abort_enabled && (SetSignal(0,0) & __break_signal_mask) != 0)
{
SHOWMSG("lock polling loop stopped");