Ignore:
File:
1 edited

Legend:

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

    rc59a346 r185efe6  
    4343// FwdDeclarations : Signal handlers
    4444static void sigHandler_ctxSwitch( __CFA_SIGPARMS__ );
    45 static void sigHandler_alarm    ( __CFA_SIGPARMS__ );
    4645static void sigHandler_segv     ( __CFA_SIGPARMS__ );
    4746static void sigHandler_ill      ( __CFA_SIGPARMS__ );
     
    257256
    258257        if ( pthread_sigmask( SIG_BLOCK, &mask, 0p ) == -1 ) {
    259                 abort( "internal error, pthread_sigmask" );
     258            abort( "internal error, pthread_sigmask" );
    260259        }
    261260}
     
    304303        // Setup proper signal handlers
    305304        __cfaabi_sigaction( SIGUSR1, sigHandler_ctxSwitch, SA_SIGINFO | SA_RESTART ); // __cfactx_switch handler
    306         __cfaabi_sigaction( SIGALRM, sigHandler_alarm    , SA_SIGINFO | SA_RESTART ); // debug handler
    307305
    308306        signal_block( SIGALRM );
     
    396394
    397395        force_yield( __ALARM_PREEMPTION ); // Do the actual __cfactx_switch
    398 }
    399 
    400 static void sigHandler_alarm( __CFA_SIGPARMS__ ) {
    401         abort("SIGALRM should never reach the signal handler");
    402396}
    403397
Note: See TracChangeset for help on using the changeset viewer.