[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] non-official updated version of glpk (4.62 pre-release)
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] non-official updated version of glpk (4.62 pre-release) |
Date: |
Tue, 31 Jan 2017 14:44:58 +0300 |
> 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 <address@hidden> 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