[colug-432] a little threaded programming prep

Jeff Frontz jeff.frontz at gmail.com
Mon May 1 13:57:36 EDT 2017


On Mon, May 1, 2017 at 1:39 PM, Paul Dubuc <work at paul.dubuc.org> wrote:

> Global, static variables need to be protected by a mutex or
> some other thread locking mechanism.
>

Note that there are also (depending on your runtime/SDK environment &
version of C) thread-local static variables -- e.g., see
http://stackoverflow.com/questions/32245103/how-does-the-gcc-thread-work

Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20170501/a8ef1d77/attachment.html 


More information about the colug-432 mailing list