help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] non-official updated version of glpk (4.61 pre-release)


From: Andrew Makhorin
Subject: Re: [Help-glpk] non-official updated version of glpk (4.61 pre-release)
Date: Mon, 09 Jan 2017 23:09:15 +0300

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 changes were made:

1. The option was added to build a stdcall DLL with MSVC10 (for MS 
   Windows version).

2. The option was added to build a re-entrant version of the package.
   If the compiler supports the thread local storage-class attribute,
   this option is enabled by default on running the configure script.

Thanks to David for suggestion and to Chris for a patch.

A re-entrant version of the package allows running multiple
*independent* instances of glpk in different threads of a multi-threaded
application.

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

PS: I tested a re-entrant version of glpk under Debian GNU/Linux and
under Cygwin. At least glpsol seems to work.





reply via email to

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