Index: src/libcfa/concurrency/threads
===================================================================
--- src/libcfa/concurrency/threads	(revision 7fbe45024a0e66932c8f18b15610b0c295b507fa)
+++ src/libcfa/concurrency/threads	(revision 6acb935ec45eabc0c4c2c47501d76a9c231f7219)
@@ -39,4 +39,8 @@
 }
 
+static inline coroutine* get_coroutine(thread_h* this) {
+	return &this->c;
+}
+
 //-----------------------------------------------------------------------------
 // Ctors and dtors
