utilize SnapshotAlloc STL allocator
[c11tester.git] / threads.h
index 7f005c078c0c126edfcb5f48af6f220a65b3798b..9fecdfd3c7466398c85ec3dfafebb314d5887bfa 100644 (file)
--- a/threads.h
+++ b/threads.h
@@ -126,7 +126,7 @@ private:
         * list is used for thread joins, where another Thread waits for this
         * Thread to complete
         */
-       std::vector<ModelAction *> wait_list;
+       std::vector< ModelAction *, SnapshotAlloc<ModelAction *> > wait_list;
 
        /**
         * The value returned by the last action in this thread