GNU libgomp: omp_destroy_nest_lock

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

### 2.39 `omp_destroy_nest_lock` – Destroy nested lock

Description:

  Destroy a nested lock. In order to be destroyed, a nested lock must be in the unlocked state and its nesting count must equal zero.

C/C++:

  Prototype: | `void omp_destroy_nest_lock(omp_nest_lock_t *);`

Fortran:

  Interface: | `subroutine omp_destroy_nest_lock(nvar)`
  | `integer(omp_nest_lock_kind), intent(inout) :: nvar`

See also:

  omp_init_lock

Reference:

  OpenMP specification v4.5, Section 3.3.3.