Ignore:
Timestamp:
May 16, 2019, 1:54:43 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
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:
1fb7bfd, f3cc5b6
Parents:
54e41b3 (diff), aa00626 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Aaron Moss <a3moss@…> (05/16/19 13:46:32)
git-committer:
Aaron Moss <a3moss@…> (05/16/19 13:54:43)
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

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

    r54e41b3 r24afc53  
    117117// Resume implementation inlined for performance
    118118forall(dtype T | is_coroutine(T))
    119 static inline void resume(T & cor) {
     119static inline T & 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;
    147149}
    148150
Note: See TracChangeset for help on using the changeset viewer.