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