Re: non-official updated version of glpk (4.62 pre-release)
Andrew Makhorin <[email protected]>
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <1485863098.5135.2.camel@corvax> |
> Please see an updated version of glpk here: > http://sourceforge.net/projects/noumenon/files/tmp/ > (Note that this is *not* an official release.) > > The following main changes were made: > > 1. glp_config was added to the export section (for MS Windows). > > 2. Calls to non-thread-safe functions gmtime, strerror, and strtok were > replaced by calls to corresponding thread-safe equivalents (gmtime_r, > strerror_r, and strtok_r for GNU/Linux). gmtime_s, strerror_s, and strtok_s for MS Windows. Thanks to Chris Matrakidis <[email protected]> for a patch. > > If the application calls glpk routines from multiple threads, the > following should be taken into account: > > 1) a thread should not access glpk program objects (e.g. glp_proc) > created by other threads; > > 2) to prevent memory leaks each thread before termination should call > the glpk api routine glp_free_env. > > > Andrew Makhorin