> What I need is indeed reentrability : what I want to do is solve
> different subproblems of the same problem in parallel, so each LPX is 
> local to one thread only.

This must work.

> 
> I think it should be possible to implement an GNU/Linux equivalent
> for your TLS-based routines, using the pthread_setspecific family of
> routines of the POSIX threads library. I can have a look at it, if
> you like.

If you are using posix pthreads, writing that two routines must be
easy to you; see w32 version and examples/mtsamp.c as an example.
I did not include the posix version in the distribution because of its
incompatibility with GNU/Linux.



_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to