libthreads: add thread_current() function
[c11tester.git] / libthreads.h
index a25b27797268326ca63db433b31ffcd4897c0b22..b73ab1c0cee46fc063c42d703f2b8e922d0d5210 100644 (file)
@@ -25,5 +25,6 @@ struct thread {
 
 int thread_create(struct thread *t, void (*start_routine), void *arg);
 void thread_join(struct thread *t);
+struct thread *thread_current(void);
 
 #endif /* __LIBTHREADS_H__ */