- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/exception.hfa
r342be43 rc960331 18 18 // This is an internal bridge between the two modes and must be C compatable. 19 19 20 #include <unwind.h> 20 21 #include "bits/defs.hfa" 21 22 #include "invoke.h" 23 #include "exception.h" 22 24 23 25 #ifdef __cforall 24 26 extern "C" { 25 26 #define HIDE_EXPORTS27 27 #endif 28 #include "unwind.h"29 28 30 29 struct exception_context_t * this_exception_context(void) OPTIONAL_THREAD; … … 33 32 struct _Unwind_Exception * unwind_exception ) OPTIONAL_THREAD; 34 33 35 struct __cfaehm_node {36 struct _Unwind_Exception unwind_exception;37 struct __cfaehm_node * next;38 int handler_index;39 };40 41 static inline exception_t * __cfaehm_cancellation_exception(42 struct _Unwind_Exception * unwind_exception ) {43 return (exception_t *)(1 + (struct __cfaehm_node *)unwind_exception);44 }45 46 34 #ifdef __cforall 47 #undef HIDE_EXPORTS48 35 } 49 36 #endif
Note:
See TracChangeset
for help on using the changeset viewer.