阅读背景:

在多线程程序中控制对字符串对象的访问的最佳方法

来源:互联网 

I've got a "config" class that has a bunch of attributes that "mirror" configuration settings. A single instance of the class is shared throughout the code (using boost shared_ptr objects) and its attributes read by multiple threads (around 100). I've got a "config" class that has a bunch of a




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

分享到: