Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/working/exception/impl/exception.c

    r6a48cc9 r35ba584c  
    7373}
    7474
    75 // Example throw routine
    7675void __throw_terminate( int val ) {
    7776        // Store the current exception
     
    107106        printf("UNWIND ERROR %d after raise exception\n", ret);
    108107        abort();
     108}
     109
     110// Nesting this the other way would probably be faster.
     111void __rethrow_terminate(void) {
     112        // DEBUG
     113        printf("Rethrowing termination exception\n");
     114
     115        __throw_terminate(shared_stack.current_exception);
    109116}
    110117
Note: See TracChangeset for help on using the changeset viewer.