add support for pthread_create (in progress)
[c11tester.git] / threads-model.h
index 11f2d547233119dc165d86eb62f0de8a5f438df5..f088bace5632a41487f071e1f1c61f2fa8d50e4e 100644 (file)
@@ -43,6 +43,7 @@ public:
        Thread(thread_id_t tid);
        Thread(thread_id_t tid, thrd_t *t, void (*func)(void *), void *a, Thread *parent);
        Thread(thread_id_t tid, thrd_t *t, void *(*func)(void *), void *a, Thread *parent);
+
        ~Thread();
        void complete();
 
@@ -133,6 +134,7 @@ private:
 
        void (*start_routine)(void *);
        void *(*pstart_routine)(void *);
+
        void *arg;
        ucontext_t context;
        void *stack;