Re: Thred safety
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1485678954.3832.6.camel@corvax> |
> Here is a list of functions that are not thread safe under POSIX 2008: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_01 > > Problematic coding includes: > strtok used in mplsql.c > gmtime used in time.c > strerror used in stream.c, gzguts.h, mpl6.c, glprpr.c > > I wonder if dlsup.c is thread safe. I consulted the ISO C11 Standard and think that there should be no problem with all these functions under conforming implementation, because no glpk routines share data between threads. Andrew Makhorin