This class contains functions for implementing simple OpenMP locks.
A simple lock may not be set if it is already owned by the thread trying to set it. Simple lock variables are associated with simple locks and may only be passed to simple lock functions.
All simple locks are represented by variables of type omp_lock_t. All simple lock functions require an argument that is a pointer to a variable of type omp_lock_t.
Library: OpenMP Run-Time Library