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