Home | History | Annotate | Download | only in decpp

Lines Matching refs:threads

309 		vector<Thread*>		threads;
314 threads.push_back(new Consumer(&buffer, rnd.getUint32()));
316 threads.push_back(new Producer(&buffer, rnd.getUint32()));
319 // Start threads.
320 for (vector<Thread*>::iterator i = threads.begin(); i != threads.end(); i++)
329 // Wait for threads to finish.
330 for (vector<Thread*>::iterator i = threads.begin(); i != threads.end(); i++)
336 // Delete threads
337 for (vector<Thread*>::iterator thread = threads.begin(); thread != threads.end(); ++thread)