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


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

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