Index: src/libcfa/concurrency/thread
===================================================================
--- src/libcfa/concurrency/thread	(revision 44264c50bd21007657f222d600982645c7521b10)
+++ src/libcfa/concurrency/thread	(revision 3d4b23fa9ef416e3543e652102009137f340d4e5)
@@ -54,5 +54,5 @@
 }
 
-thread_desc * this_thread(void);
+extern volatile thread_local thread_desc * this_thread;
 
 forall( dtype T | is_thread(T) )
