C: Making golbal 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 14:43 UTC
Read the original article Hit count: 183

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?

10x

© Stack Overflow or respective owner

Related posts about c

    Related posts about multithreading