projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge
[c11tester.git]
/
threads-model.h
diff --git
a/threads-model.h
b/threads-model.h
index f2162a89e55752ffde61e74ebf3f0c675584d4ba..c6078200f5911f5bf3dd78f80125b881683e1a0e 100644
(file)
--- a/
threads-model.h
+++ b/
threads-model.h
@@
-157,6
+157,7
@@
private:
ucontext_t context;
void *stack;
#ifdef TLS
ucontext_t context;
void *stack;
#ifdef TLS
+ void * helper_stack;
public:
char *tls;
ucontext_t helpercontext;
public:
char *tls;
ucontext_t helpercontext;
@@
-185,11
+186,12
@@
private:
#ifdef TLS
uintptr_t get_tls_addr();
#ifdef TLS
uintptr_t get_tls_addr();
+void tlsdestructor(void *v);
#endif
Thread * thread_current();
void thread_startup();
#endif
Thread * thread_current();
void thread_startup();
-void
main_thread_startup
();
+void
initMainThread
();
static inline thread_id_t thrd_to_id(thrd_t t)
{
static inline thread_id_t thrd_to_id(thrd_t t)
{