|
|
@ -86,9 +86,7 @@ void testq(int size, int pushers, int poppers)
|
|
|
|
|
|
|
|
|
|
|
|
for(int i = 0; i < pushers; i++)
|
|
|
|
for(int i = 0; i < pushers; i++)
|
|
|
|
new std::thread(std::bind(pusher, &q));
|
|
|
|
new std::thread(std::bind(pusher, &q));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while(active)
|
|
|
|
while(active)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
using std::endl;
|
|
|
|
using std::endl;
|
|
|
|