Re: Determining if the GLPK library is compiled to be reentrant.
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1484360825.7156.3.camel@corvax> |
> a program that uses a GLPK library which is not compiled with thread > local storage may fail fatally when run with multiple threads. > > I hence suggest to add a function that allows to determine if GLPK was > compiled to be reentrant. We could use the same function to return other > features too. Done. Please see an updated version of glpk here: http://sourceforge.net/projects/noumenon/files/tmp/ (Note that this is *not* an official release.) I added API routine glp_config (see it in src/env/env.c) which provides necessary functionality. Andrew Makhorin