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