Lines Matching defs:threads
51 //! Global barrier for synchronizing threads entering/exiting the
59 * The main function for all subordinate threads (i.e., all threads
60 * other than the main thread). These threads start by waiting on
61 * threadBarrier. Once all threads have arrived at threadBarrier,
89 static std::vector<std::thread *> threads;
95 // handles queue 0, so we only need to allocate new threads
96 // for queues 1..N-1. We'll call these the "subordinate" threads.
98 threads.push_back(new std::thread(thread_loop, mainEventQueue[i]));
128 // all subordinate (created) threads should be waiting on the
130 // barrier, and all threads will enter doSimLoop in parallel
176 * simulation threads (the main thread and the subordinate threads) in