help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Parallel runs of glpk


From: Mathieu Dutour
Subject: Re: [Help-glpk] Parallel runs of glpk
Date: Wed, 14 Dec 2016 19:23:18 +0100

Ok, thank you!
I will stick to solution A for the time being.

I must say that I do not really understand why
GLPK is not "naturally" thread safe. I though
that basically you need to avoid global and 
static variables in order to get a thread-safe
function but I must have missed something.

Thanks again for the solution.

  Mathieu

On 14 December 2016 at 18:56, Andrew Makhorin <address@hidden> wrote:
On Wed, 2016-12-14 at 18:28 +0100, Mathieu Dutour wrote:
>         Please see
>         http://lists.gnu.org/archive/html/help-glpk/2010-04/msg00038.html .
>
>         If you are interested in this solution, I can post you a
>         reentrant
>         version of glpk/src/env/tls.c for GNU/Linux or MS Windows
>         (from an old
>         glpk distribution).
> Yes, thank you!
> I think this is the right solution.

For a GNU/Linux version see
http://lists.gnu.org/archive/html/help-glpk/2010-04/msg00043.html

Attached is a MS Windows dll version.

You need to replace glpk/src/env/tls.c and then rebuild the package as
usual.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]