Index: libcfa/src/concurrency/coroutine.hfa
===================================================================
--- libcfa/src/concurrency/coroutine.hfa	(revision 3c5dee4a100cd0d1a3869d9add9831a31f8160a9)
+++ libcfa/src/concurrency/coroutine.hfa	(revision aa0062628fa89cf91fb1c6e4d2983203208b784f)
@@ -117,5 +117,5 @@
 // Resume implementation inlined for performance
 forall(dtype T | is_coroutine(T))
-static inline void resume(T & cor) {
+static inline T & resume(T & cor) {
 	// optimization : read TLS once and reuse it
 	// Safety note: this is preemption safe since if
@@ -145,4 +145,6 @@
 	// always done for performance testing
 	CoroutineCtxSwitch( src, dst );
+
+	return cor;
 }
 
