Share via


omp_destroy_lock

Uninitializes a lock.

void omp_destroy_lock(
   omp_lock_t *lock
);

Remarks

where,

Remarks

For more information, see 3.2.2 omp_destroy_lock and omp_destroy_nest_lock Functions.

Example

See omp_init_lock for an example of using omp_destroy_lock.

See Also

Concepts

OpenMP Functions