This documentation is archived and is not being maintained.

omp_set_nest_lock 

Blocks thread execution until a lock is available.


void omp_set_nest_lock(
   omp_nest_lock_t *lock
);

where,

lock

A variable of type omp_nest_lock_t that was initialized with omp_init_nest_lock.

See omp_init_nest_lock for an example of using omp_set_nest_lock.

Show: