Admin Production ni-theme
Current Publication

omp_set_nest_lock

LabWindows/CVI

omp_set_nest_lock

void omp_set_nest_lock (omp_nest_lock_t *lock);

Purpose

Sets a nestable OpenMP lock. This function blocks the calling thread until the lock is available, sets the lock, and then grants ownership of the lock to the calling thread. A nestable lock is available if it is unlocked.

Note Note  The OpenMP Run-Time Library is available only in the LabWindows/CVI Full Development System.

Locks you pass to this function must be not be in the unintialized state.

Binding thread set: all threads

Parameters

Input
Name Type Description
lock omp_nest_lock_t * A pointer to a variable of type omp_nest_lock_t. After this function returns, the lock variable is in the locked state.

Return Value

None.

Additional Information

Library: OpenMP Run-Time Library

Include file: omp.h

LabWindows/CVI compatibility: LabWindows/CVI 2013 and later