projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libthreads: add thread_current() function
[c11tester.git]
/
libthreads.h
diff --git
a/libthreads.h
b/libthreads.h
index a25b27797268326ca63db433b31ffcd4897c0b22..b73ab1c0cee46fc063c42d703f2b8e922d0d5210 100644
(file)
--- a/
libthreads.h
+++ b/
libthreads.h
@@
-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__ */