Towards erase method
[c11tester.git] / execution.h
index 421781272c0aa3ae8743bac1b2b85d23460102ff..72b51fb882da49e9958a9bb41a3b3eb515566aba 100644 (file)
@@ -123,6 +123,7 @@ private:
        ClockVector * get_hb_from_write(ModelAction *rf) const;
        ModelAction * get_uninitialized_action(ModelAction *curr) const;
        ModelAction * convertNonAtomicStore(void*);
+       void removeAction(ModelAction *act);
 
 #ifdef TLS
        pthread_key_t pthreadkey;
@@ -132,13 +133,14 @@ private:
 
        /** The scheduler to use: tracks the running/ready Threads */
        Scheduler * const scheduler;
-       action_list_t action_trace;
 
 
        SnapVector<Thread *> thread_map;
        SnapVector<Thread *> pthread_map;
        uint32_t pthread_counter;
 
+       action_list_t action_trace;
+
 
        /** Per-object list of actions. Maps an object (i.e., memory location)
         * to a trace of all actions performed on the object.