30 Mar
2014
30 Mar
'14
5:36 p.m.
Le 30/03/14 17:53, Shuxiong Ye a écrit :
I don't know if it is too late, but adding a prototype of a thread pool with a queue by worker thread could make other vode your proposal.
Best, Vicente
Hi Vicente, Thanks for your suggestion.
It seems Boost.Thread already has one[1]. The basic thread pool has a queue holding tasks which will execute by worker threads.
Maybe I can mention this in my proposal. The work-stealing thread pool could be based on this basic one.
Best Regards, Shuxiong
[1] https://github.com/boostorg/thread/blob/master/include/boost/thread/executor...
Hi, as I have said on my comment, what I could help is to have a poc of a thread pool with one queue by worker thread. HTH, Vicente