help-glpk
[Top][All Lists]
Advanced

[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: Sun, 18 Apr 2010 12:51:22 +0400

> Thank you Andrew for this feature which will be valuable for me as well!
> I am using the java version of glpk, and I am wondering if it has
> also been tested with multi-threads. What do I have to change in the
> java or swig files in order to be able to take this into account?

You need to replace file glpenv02.c in glpk with a reentrant version,
for example, with that one I posted to the list.

>  For
> example, where do I have to initialize the environment thread pointer?

Somewhere before creating threads.







reply via email to

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