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


2.30 omp_init_lock – Initialize simple lock

Description:

Initialize a simple lock. After initialization, the lock is in an unlocked state.

C/C++:
Prototype:void omp_init_lock(omp_lock_t *lock);
Fortran:
Interface:subroutine omp_init_lock(svar)
integer(omp_lock_kind), intent(out) :: svar
See also:

omp_destroy_lock

Reference:

OpenMP specification v4.5, Section 3.3.1.