libgomp: omp_unset_lock
1
1 2.33 'omp_unset_lock' - Unset simple lock
1 =========================================
1
1 _Description_:
1 A simple lock about to be unset must have been locked by
1 'omp_set_lock' or 'omp_test_lock' before. In addition, the lock
1 must be held by the thread calling 'omp_unset_lock'. Then, the
1 lock becomes unlocked. If one or more threads attempted to set the
1 lock before, one of them is chosen to, again, set the lock to
1 itself.
1
1 _C/C++_:
1 _Prototype_: 'void omp_unset_lock(omp_lock_t *lock);'
1
1 _Fortran_:
1 _Interface_: 'subroutine omp_unset_lock(svar)'
1 'integer(omp_lock_kind), intent(inout) :: svar'
1
1 _See also_:
1 ⇒omp_set_lock, ⇒omp_test_lock
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.3.5.
1