- File:
-
- 1 edited
-
src/libcfa/concurrency/coroutines.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutines.c
r8def349 rbd98b58 1 // -*- Mode: CFA -*-2 1 // 3 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo … … 32 31 #include "invoke.h" 33 32 34 extern processor * get_this_processor();33 /*thread_local*/ extern processor * this_processor; 35 34 36 35 //----------------------------------------------------------------------------- … … 111 110 112 111 // set new coroutine that task is executing 113 get_this_processor()->current_coroutine = dst;112 this_processor->current_coroutine = dst; 114 113 115 114 // context switch to specified coroutine
Note:
See TracChangeset
for help on using the changeset viewer.