Changes in src/libcfa/concurrency/invoke.c [381fdee:53217c1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.c
r381fdee r53217c1 10 10 // Created On : Tue Jan 17 12:27:26 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 9 14:41:56201812 // Last Modified On : Tue Feb 6 23:00:57 2018 13 13 // Update Count : 3 14 14 // … … 51 51 //Final suspend, should never return 52 52 __leave_coroutine(); 53 abortf( "Resumed dead coroutine");53 abortf( "Resumed dead coroutine" ); 54 54 } 55 55 … … 81 81 //Final suspend, should never return 82 82 __leave_thread_monitor( thrd ); 83 abortf( "Resumed dead thread");83 abortf( "Resumed dead thread" ); 84 84 } 85 85 … … 93 93 struct coStack_t* stack = &get_coroutine( this )->stack; 94 94 95 #if defined( __i386 )95 #if defined( __i386__ ) 96 96 97 97 struct FakeStack { … … 114 114 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fcw = 0x037F; //Vol. 1 8-7 115 115 116 #elif defined( __x86_64 )116 #elif defined( __x86_64__ ) 117 117 118 118 struct FakeStack { … … 150 150 fs->arg[0] = this; 151 151 fs->arg[1] = invoke; 152 153 152 #else 154 #error uknown hardware architecture153 #error Only __i386__ and __x86_64__ is supported for threads in cfa 155 154 #endif 156 155 }
Note: See TracChangeset
for help on using the changeset viewer.