Next: , Previous: , Up: Runtime Library Routines   [Contents][Index]


2.35 omp_init_nest_lock – Initialize nested lock

Description:

Initialize a nested lock. After initialization, the lock is in an unlocked state and the nesting count is set to zero.

C/C++:
Prototype:void omp_init_nest_lock(omp_nest_lock_t *lock);
Fortran:
Interface:subroutine omp_init_nest_lock(nvar)
integer(omp_nest_lock_kind), intent(out) :: nvar
See also:

omp_destroy_nest_lock

Reference:

OpenMP specification v4.5, Section 3.3.1.