Ignore:
Timestamp:
Jan 30, 2020, 10:59:12 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
6f302cd
Parents:
052dfc3
Message:

restructure errors invoking signal handlers and handled by abort

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.cfa

    r052dfc3 r8a13c47  
    1010// Created On       : Tue Jan 17 12:27:26 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec  5 16:25:52 2019
    13 // Update Count     : 52
     12// Last Modified On : Thu Jan 30 22:55:50 2020
     13// Update Count     : 56
    1414//
    1515
     
    841841                sigemptyset( &mask );
    842842                sigaddset( &mask, SIGALRM );            // block SIGALRM signals
    843                 sigsuspend( &mask );                    // block the processor to prevent further damage during abort
    844                 _exit( EXIT_FAILURE );                  // if processor unblocks before it is killed, terminate it
     843                sigaddset( &mask, SIGUSR1 );            // block SIGALRM signals
     844                sigsuspend( &mask );                            // block the processor to prevent further damage during abort
     845                _exit( EXIT_FAILURE );                          // if processor unblocks before it is killed, terminate it
    845846        }
    846847        else {
Note: See TracChangeset for help on using the changeset viewer.