libgomp: omp_test_nest_lock

1 
1 2.37 'omp_test_nest_lock' - Test and set nested lock if available
1 =================================================================
1 
1 _Description_:
1      Before setting a nested lock, the lock variable must be initialized
1      by 'omp_init_nest_lock'.  Contrary to 'omp_set_nest_lock',
1      'omp_test_nest_lock' does not block if the lock is not available.
1      If the lock is already held by the current thread, the new nesting
1      count is returned.  Otherwise, the return value equals zero.
1 
1 _C/C++_:
1      _Prototype_:   'int omp_test_nest_lock(omp_nest_lock_t *lock);'
1 
1 _Fortran_:
1      _Interface_:   'logical function omp_test_nest_lock(nvar)'
1                     'integer(omp_nest_lock_kind), intent(inout) :: nvar'
1 
1 _See also_:
1      ⇒omp_init_lock, ⇒omp_set_lock, ⇒omp_set_lock
1 
1 _Reference_:
1      OpenMP specification v4.5 (http://www.openmp.org/), Section 3.3.6.
1