- File:
-
- 1 edited
-
doc/working/exception/impl/exception.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/working/exception/impl/exception.c
r35ba584c r6a48cc9 73 73 } 74 74 75 // Example throw routine 75 76 void __throw_terminate( int val ) { 76 77 // Store the current exception … … 106 107 printf("UNWIND ERROR %d after raise exception\n", ret); 107 108 abort(); 108 }109 110 // Nesting this the other way would probably be faster.111 void __rethrow_terminate(void) {112 // DEBUG113 printf("Rethrowing termination exception\n");114 115 __throw_terminate(shared_stack.current_exception);116 109 } 117 110
Note:
See TracChangeset
for help on using the changeset viewer.