libgomp: omp_set_lock

1 
1 2.31 'omp_set_lock' - Wait for and set simple lock
1 ==================================================
1 
1 _Description_:
1      Before setting a simple lock, the lock variable must be initialized
1      by 'omp_init_lock'.  The calling thread is blocked until the lock
1      is available.  If the lock is already held by the current thread, a
1      deadlock occurs.
1 
1 _C/C++_:
1      _Prototype_:   'void omp_set_lock(omp_lock_t *lock);'
1 
1 _Fortran_:
1      _Interface_:   'subroutine omp_set_lock(svar)'
1                     'integer(omp_lock_kind), intent(inout) :: svar'
1 
1 _See also_:
DONTPRINTYET 1      ⇒omp_init_lock, ⇒omp_test_lock, *note1      omp_unset_lock::
1 
1 _Reference_:
1      OpenMP specification v4.5 (http://www.openmp.org/), Section 3.3.4.
1