共用方式為


omp_unset_nest_lock

 

Releases a nestable lock.

Syntax

void omp_unset_nest_lock(   
   omp_nest_lock_t *lock   
);  

Remarks

where,

lock
A variable of type omp_nest_lock_t that was initialized with omp_init_nest_lock, owned by the thread and executing in the function.

Remarks

For more information, see 3.2.4 omp_unset_lock and omp_unset_nest_lock Functions.

Example

See omp_init_nest_lock for an example of using omp_unset_nest_lock.

See Also

Functions