Wednesday, February 19, 2014

Creating thread with their id's

for(i=0;i < numthereads;i++)
workers.push_back(thread(&ThreadPool::thread_loop,this,i));

No comments:

Be human

The biggest mistake repeated throughout history has always been people in power thinking they have the right to harm the innocent for what t...