[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Thred safety
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Thred safety |
Date: |
Sun, 29 Jan 2017 11:35:54 +0300 |
> 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