[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Thread Safety of GLPK
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] Thread Safety of GLPK |
Date: |
Wed, 30 Aug 2017 09:52:38 +0300 |
> thanks for your answers.
> I updated to version 4.63, but I keep getting errors such as
> "segmentation fault" or "glp_free: memory allocation error”.
>
> I have a function, with a few parameters in input, which creates the
> MIP and solve it (attached the function which creates the MIP).
> This function is called by multiple threads with different parameters and
> they do not share any data.
> As soon as I call the function within a mutex lock/unlock everything works
> fine.
>
> I compiled the GLPK package with Clang/LLVM 4.9 which has support for
> TLS, so I think everything should be fine.
> Do I need to do something else to make GLPK thread safe?
>
How do you configure the package? Do you run the configure script?
- [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/24
- Re: [Help-glpk] Thread Safety of GLPK, Andrew Makhorin, 2017/08/25
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/29
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Simone Atzeni, 2017/08/30
- Re: [Help-glpk] Thread Safety of GLPK, Heinrich Schuchardt, 2017/08/30