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