Lines Matching refs:thread
37 #include <thread>
60 * other than the main thread). These threads start by waiting on
86 // create a thread for each of event queues referenced by the
89 static std::vector<std::thread *> threads;
94 // the main thread (the one we're currently running on)
98 threads.push_back(new std::thread(thread_loop, mainEventQueue[i]));
129 // barrier; the arrival of the main thread here will satisfy the
156 * flag is cleared, only one thread returns true (and thus is assigned
175 * The main per-thread simulation loop. This loop is executed by all
176 * simulation threads (the main thread and the subordinate threads) in
182 // set the per thread current eventq pointer