omp_unset_lock

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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.

For more information, see 3.2.4 omp_unset_lock and omp_unset_nest_lock Functions.

See omp_init_lock for an example of using omp_unset_lock.

Functions

Show: