- File:
-
- 1 edited
-
src/libcfa/concurrency/invoke.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.c
rb58a5772 r80d9e49 15 15 extern void __suspend__F___1(void); 16 16 17 void CtxInvokeCoroutine(17 void invokeCoroutine( 18 18 void (*main)(void *), 19 19 struct coroutine *(*get_coroutine)(void *), … … 34 34 35 35 36 void CtxStart(36 void startCoroutine( 37 37 void (*main)(void *), 38 38 struct coroutine *(*get_coroutine)(void *), … … 73 73 74 74 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->dummyReturn = NULL; 75 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->rturn = CtxInvokeStub;75 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->rturn = coInvokeStub; 76 76 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[0] = this; 77 77 ((struct FakeStack *)(((struct machine_context_t *)stack->context)->SP))->fixedRegisters[1] = invoke;
Note:
See TracChangeset
for help on using the changeset viewer.