Index: libcfa/src/concurrency/coroutine.hfa
===================================================================
--- libcfa/src/concurrency/coroutine.hfa	(revision b78129a0ba9ecf9e12792c7395b10b702e4bec2c)
+++ libcfa/src/concurrency/coroutine.hfa	(revision f3cc5b6512f55846804a909de3b8735e14b2adef)
@@ -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;
 }
 
