bug fix
[c11tester.git] / threads-model.h
index f0b88bb25fea3abd10f8048ac55251460b99dca5..73c1d8f78f7c8a9f79a0ee0dc5de463be7a85a68 100644 (file)
@@ -46,9 +46,11 @@ public:
 
        ~Thread();
        void complete();
+       void freeResources();
 
        static int swap(ucontext_t *ctxt, Thread *t);
        static int swap(Thread *t, ucontext_t *ctxt);
+       static int swap(Thread *t, Thread *t2);
 
        thread_state get_state() const { return state; }
        void set_state(thread_state s);