omp_test_lock
int omp_test_lock(omp_lock_t *lock2)
Attempts to set a lock but does not block execution of the thread.
OpenMP API Index