Changeset 76d3ca6 for libcfa/src/concurrency
- Timestamp:
- Mar 18, 2019, 2:32:17 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 466b1c9
- Parents:
- fca6ca6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/coroutine.hfa
rfca6ca6 r76d3ca6 46 46 //----------------------------------------------------------------------------- 47 47 // Public coroutine API 48 static inline void suspend( );48 static inline void suspend(void); 49 49 50 50 forall(dtype T | is_coroutine(T)) … … 71 71 72 72 // Suspend implementation inlined for performance 73 static inline void suspend( ) {73 static inline void suspend(void) { 74 74 // optimization : read TLS once and reuse it 75 75 // Safety note: this is preemption safe since if
Note: See TracChangeset
for help on using the changeset viewer.