omp_set_nest_lock

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Blocks thread execution until a lock is available.

Syntax

void omp_set_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.

Remarks

For more information, see 3.2.3 omp_set_lock and omp_set_nest_lock Functions.

Examples

See omp_init_nest_lock for an example of using omp_set_nest_lock.

See Also

Functions