libgomp: omp_set_nest_lock
1
1 2.36 'omp_set_nest_lock' - Wait for and set nested lock
1 =======================================================
1
1 _Description_:
1 Before setting a nested lock, the lock variable must be initialized
1 by 'omp_init_nest_lock'. The calling thread is blocked until the
1 lock is available. If the lock is already held by the current
1 thread, the nesting count for the lock is incremented.
1
1 _C/C++_:
1 _Prototype_: 'void omp_set_nest_lock(omp_nest_lock_t *lock);'
1
1 _Fortran_:
1 _Interface_: 'subroutine omp_set_nest_lock(nvar)'
1 'integer(omp_nest_lock_kind), intent(inout) :: nvar'
1
1 _See also_:
1 ⇒omp_init_nest_lock, ⇒omp_unset_nest_lock
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.3.4.
1