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


2.33 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
Reference:
OpenMP specification v4.0, Section 3.3.2.