Redirect output after taking snapshots
[c11tester.git] / threads-model.h
index f2162a89e55752ffde61e74ebf3f0c675584d4ba..c6078200f5911f5bf3dd78f80125b881683e1a0e 100644 (file)
@@ -157,6 +157,7 @@ private:
        ucontext_t context;
        void *stack;
 #ifdef TLS
+       void * helper_stack;
 public:
        char *tls;
        ucontext_t helpercontext;
@@ -185,11 +186,12 @@ private:
 
 #ifdef TLS
 uintptr_t get_tls_addr();
+void tlsdestructor(void *v);
 #endif
 
 Thread * thread_current();
 void thread_startup();
-void main_thread_startup();
+void initMainThread();
 
 static inline thread_id_t thrd_to_id(thrd_t t)
 {