projects
/
barrelfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
posixcompat: properly handle PTHREAD_MUTEX_RECURSIVE and BF thread id assignment.
[barrelfish]
/
include
/
barrelfish
/
threads.h
diff --git
a/include/barrelfish/threads.h
b/include/barrelfish/threads.h
index
5ccf47e
..
0e29720
100644
(file)
--- a/
include/barrelfish/threads.h
+++ b/
include/barrelfish/threads.h
@@
-71,6
+71,7
@@
void thread_set_tls_key(int, void *);
void *thread_get_tls_key(int);
uintptr_t thread_id(void);
+uintptr_t thread_get_id(struct thread *t);
void thread_set_id(uintptr_t id);
__END_DECLS