Ignore:
Timestamp:
Dec 16, 2019, 11:41:32 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
3c67255
Parents:
d912bed
Message:

move disabling SIGALRM/SIGUSR1 from main.cc to signal.hfa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/signal.hfa

    rd912bed r7006ba5  
    3737
    3838        act.sa_sigaction = (void (*)(int, siginfo_t *, void *))handler;
     39        sigemptyset( &act.sa_mask );
     40        sigaddset( &act.sa_mask, SIGALRM );             // disabled during signal handler
     41        sigaddset( &act.sa_mask, SIGUSR1 );
    3942        act.sa_flags = flags;
    4043
Note: See TracChangeset for help on using the changeset viewer.