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


3.41 omp_destroy_lock – Destroy simple lock

Description:

Destroy a simple lock. In order to be destroyed, a simple lock must be in the unlocked state.

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

omp_init_lock – Initialize simple lock

Reference:

OpenMP specification v4.5, Section 3.3.3.