Purpose
The omp_test_nest_lock subroutine allows you to attempt to set a lock using the same method as omp_set_nest_lock but the execution thread does not wait for confirmation that the lock is available. If the lock is successfully set, the function will increment the nesting count. If the lock is unavailable the function returns a value of zero. The result value is always a default integer.
Class
Function.
Argument Type and Attributes
Result Type and Attributes
Result Value
.TRUE. if the function was able to set the
lock. .FALSE. otherwise.