Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/coroutine.hfa

    raa00626 r63364d8  
    117117// Resume implementation inlined for performance
    118118forall(dtype T | is_coroutine(T))
    119 static inline T & resume(T & cor) {
     119static inline void resume(T & cor) {
    120120        // optimization : read TLS once and reuse it
    121121        // Safety note: this is preemption safe since if
     
    145145        // always done for performance testing
    146146        CoroutineCtxSwitch( src, dst );
    147 
    148         return cor;
    149147}
    150148
Note: See TracChangeset for help on using the changeset viewer.