阅读背景:

使全局静态变量成为多线程安全的

来源:互联网 

I have global static variables in a C library, which generate exceptions in a multithread run. I need to make them safe in some way (i.e., each thread should relate to a different instance of these variables). Any recommended methods?I have global static variables in a C library,




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

分享到: