- File:
-
- 1 edited
-
src/libcfa/concurrency/coroutine (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/coroutine
r83a071f9 re5fccf4 1 // - *- Mode: CFA - *-2 1 // 3 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo … … 10 9 // Author : Thierry Delisle 11 10 // Created On : Mon Nov 28 12:27:26 2016 12 // Last Modified By : Thierry Delisle13 // Last Modified On : Mon Nov 28 12:27:26 201614 // Update Count : 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 30 07:58:29 2017 13 // Update Count : 3 15 14 // 16 15 17 #ifndef COROUTINES_H 18 #define COROUTINES_H 16 #pragma once 19 17 20 #include "assert"18 #include <assert.h> 21 19 #include "invoke.h" 22 20 … … 63 61 64 62 // Get current coroutine 65 extern volatile thread_local coroutine_desc *this_coroutine;63 extern thread_local coroutine_desc * volatile this_coroutine; 66 64 67 65 // Private wrappers for context switch and stack creation … … 129 127 } 130 128 131 #endif //COROUTINES_H132 133 129 // Local Variables: // 134 130 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.