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


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

See also:
omp_init_lock
Reference:
OpenMP specifications v3.1, section 3.3.2.