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