[Top][All Lists]

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

[Help-glpk] Patch to configure a reentrant version of GLPK

From: Chris Matrakidis
Subject: [Help-glpk] Patch to configure a reentrant version of GLPK
Date: Thu, 29 Dec 2016 16:25:02 +0200


The attached patch adds the --enable-reentrant option to configure
(disabled by default) as suggested by David Monniaux a few days ago
[1]. When selected, the appropriate thread local storage class
specifier is identified, added to config.h and used in tls.c. The
patch is based on the work of Dmitry Nadezhin [2] and the ax_tls macro
form the autoconf archive [3] simplified to match the
style, The code remains C89 if the option is not selected.

I have tested this extensively but only on Linux with gcc, so
additional testing and feedback is welcome.

Best Regards,

Chris Matrakidis


Attachment: tls.patch
Description: Text Data

reply via email to

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