This documentation is archived and is not being maintained.

omp_destroy_lock 

Uninitializes a lock.


void omp_destroy_lock(
   omp_lock_t *lock
);

where,

lock

A variable of type omp_lock_t that was initialized with omp_init_lock.

See omp_init_lock for an example of using omp_destroy_lock.

Show: