Hi Andrew,

The attached patch adds the _s variants for windows. I have only
tested it using mingw64, so some some additional testing would be
appropriate.


Best Regards,

Chris Matrakidis

On 30 January 2017 at 13:07, Andrew Makhorin <[email protected]> wrote:
> 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).
>
> 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
>
>
> _______________________________________________
> Help-glpk mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/help-glpk

Attachment: stdc.patch
Description: Binary data

_______________________________________________
Help-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to