Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
These functions ensure that the pointed to lock variable lock is uninitialized. The format is as follows:
#include <omp.h>
void omp_destroy_lock(omp_lock_t *lock);
void omp_destroy_nest_lock(omp_nest_lock_t *lock);
It is noncompliant to call either of these routines with a lock variable that is uninitialized or unlocked.