阅读背景:

在c++11中线程的性能

来源:互联网 

I am interested in the performance of mutex and message passing in the latest gcc with threads based on pthreads and a Ubuntu development environment. A good generic problem for this is the dining philosophers where each philosopher uses lh and rh fork shared with left and right hand neighbour. I increase the number of philosophers to 99 to keep my quad core processor busy.I am interested in the performance of mutex and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: