- File:
-
- 1 edited
-
src/libcfa/concurrency/coroutine (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine
r6b0b624 r1c273d0 10 10 // Author : Thierry Delisle 11 11 // Created On : Mon Nov 28 12:27:26 2016 12 // Last Modified By : Peter A. Buhr13 // Last Modified On : Sat Jul 22 09:57:17 201714 // Update Count : 212 // Last Modified By : Thierry Delisle 13 // Last Modified On : Mon Nov 28 12:27:26 2016 14 // Update Count : 0 15 15 // 16 16 17 #pragma once 17 #ifndef COROUTINES_H 18 #define COROUTINES_H 18 19 19 #include <assert.h>20 #include "assert" 20 21 #include "invoke.h" 21 22 … … 62 63 63 64 // Get current coroutine 64 extern thread_local coroutine_desc * volatilethis_coroutine;65 extern volatile thread_local coroutine_desc * this_coroutine; 65 66 66 67 // Private wrappers for context switch and stack creation … … 128 129 } 129 130 131 #endif //COROUTINES_H 132 130 133 // Local Variables: // 131 134 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.