Next: , Previous: omp_destroy_lock, Up: Runtime Library Routines


2.25 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(lock)
integer(omp_nest_lock_kind), intent(out) :: lock

See also:
omp_destroy_nest_lock
Reference:
OpenMP specifications v3.0, section 3.3.1.