- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines.c
r8def349 r0c92c9f 98 98 } 99 99 100 // We need to call suspend from invoke.c, so we expose this wrapper that 101 // is not inline (We can't inline Cforall in C) 102 void suspend_no_inline(void) { 103 suspend(); 104 } 105 106 void corCxtSw(coroutine* src, coroutine* dst) { 100 // Wrapper for co 101 void CoroutineCtxSwitch(coroutine* src, coroutine* dst) { 107 102 // THREAD_GETMEM( This )->disableInterrupts(); 108 103 … … 167 162 } 168 163 164 // We need to call suspend from invoke.c, so we expose this wrapper that 165 // is not inline (We can't inline Cforall in C) 166 extern "C" { 167 void __suspend_internal(void) { 168 suspend(); 169 } 170 } 171 169 172 // Local Variables: // 170 173 // mode: c //
Note: See TracChangeset
for help on using the changeset viewer.