Changes in libcfa/src/concurrency/invoke.h [5715d43:3e2b9c9]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r5715d43 r3e2b9c9 26 26 #ifndef _INVOKE_H_ 27 27 #define _INVOKE_H_ 28 29 struct __cfaehm_try_resume_node;30 struct __cfaehm_base_exception_t;31 struct exception_context_t {32 struct __cfaehm_try_resume_node * top_resume;33 struct __cfaehm_base_exception_t * current_exception;34 };35 28 36 29 struct __stack_context_t { … … 58 51 // base of stack 59 52 void * base; 60 61 // Information for exception handling.62 struct exception_context_t exception_context;63 53 }; 64 54 … … 94 84 }; 95 85 96 static inline struct __stack_t * __get_stack( struct $coroutine * cor ) { 97 return (struct __stack_t*)(((uintptr_t)cor->stack.storage) & ((uintptr_t)-2)); 98 } 99 100 struct exception_context_t * this_exception_context(); 86 static inline struct __stack_t * __get_stack( struct $coroutine * cor ) { return (struct __stack_t*)(((uintptr_t)cor->stack.storage) & ((uintptr_t)-2)); } 101 87 102 88 // struct which calls the monitor is accepting
Note:
See TracChangeset
for help on using the changeset viewer.