Making global static variables multithread safe
Posted
by giladsah
on Stack Overflow
See other posts from Stack Overflow
or by giladsah
Published on 2010-04-18T14:41:52Z
Indexed on
2010/04/18
15:03 UTC
Read the original article
Hit count: 179
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?
© Stack Overflow or respective owner