Find a faster way to get currently executing thread's id
[c11tester.git] / threads-model.h
index b1aa9013bf6e7ee174976fafc8e286dca7183f39..15dd151577e908027f002565cf2855e95c85d787 100644 (file)
@@ -203,6 +203,7 @@ void tlsdestructor(void *v);
 #endif
 
 Thread * thread_current();
+thread_id_t thread_current_id();
 void thread_startup();
 void initMainThread();