Attempts to set a lock but does not block execution of the thread.
int omp_test_lock (omp_lock_t * lock); int omp_test_nest_lock (omp_nest_lock_t * lock);
int omp_test_lock (omp_lock_t * lock);
int omp_test_nest_lock (omp_nest_lock_t * lock);