diff -r ca4e4a5e9b6e -r 0900cfe4a84d lemon/cplex.h --- a/lemon/cplex.h Wed May 06 11:28:38 2015 +0200 +++ b/lemon/cplex.h Wed May 06 16:01:26 2015 +0200 @@ -23,6 +23,7 @@ ///\brief Header of the LEMON-CPLEX lp solver interface. #include +#include struct cpxenv; struct cpxlp; @@ -40,7 +41,11 @@ private: cpxenv* _env; mutable int* _cnt; + mutable bits::Lock* _cnt_lock; + void incCnt(); + void decCnt(); + public: /// \brief This exception is thrown when the license check is not