This topic has not yet been rated - Rate this topic

omp_unset_lock 

Releases a lock.


void omp_unset_lock(
   omp_lock_t *lock
);

where,

lock

A variable of type omp_lock_t that was initialized with omp_init_lock, owned by the thread and executing in the function.

See omp_init_lock for an example of using omp_unset_lock.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.