libgomp: omp_unset_nest_lock
1
1 2.38 'omp_unset_nest_lock' - Unset nested lock
1 ==============================================
1
1 _Description_:
1 A nested lock about to be unset must have been locked by
1 'omp_set_nested_lock' or 'omp_test_nested_lock' before. In
1 addition, the lock must be held by the thread calling
1 'omp_unset_nested_lock'. If the nesting count drops to zero, the
1 lock becomes unlocked. If one ore more threads attempted to set
1 the lock before, one of them is chosen to, again, set the lock to
1 itself.
1
1 _C/C++_:
1 _Prototype_: 'void omp_unset_nest_lock(omp_nest_lock_t *lock);'
1
1 _Fortran_:
1 _Interface_: 'subroutine omp_unset_nest_lock(nvar)'
1 'integer(omp_nest_lock_kind), intent(inout) :: nvar'
1
1 _See also_:
1 ⇒omp_set_nest_lock
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.3.5.
1