MPSolve 3.2.1
|
Implementation of some thread-safe types that can be easily used with the macro MPS_LOCK() and MPS_UNLOCK(). More...
Go to the source code of this file.
Classes | |
struct | mps_boolean_mt |
A thread safe version of mps_boolean. More... | |
struct | mps_long_int_mt |
A thread safe version of mps_boolean. More... | |
Macros | |
#define | MPS_LOCK(x) (pthread_mutex_lock (&(x).mutex)) |
#define | MPS_UNLOCK(x) (pthread_mutex_unlock (&(x).mutex)) |
#define | MPS_INIT_LOCK(x) (pthread_mutex_init (&(x).mutex, NULL)) |
Implementation of some thread-safe types that can be easily used with the macro MPS_LOCK() and MPS_UNLOCK().