Admin Production ni-theme
Current Publication

omp_unset_lock

LabWindows/CVI

omp_unset_lock

void omp_unset_lock (omp_lock_t *lock);

Purpose

Unsets a simple OpenMP lock and causes the calling thread to release ownership of the lock.

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

The lock you pass to this function must be in the locked state and owned by the calling thread.

After this function executes, if one or more threads are waiting for this lock, LabWindows/CVI chooses one of the threads and gives the thread ownership of the lock.

Binding thread set: all threads

Parameters

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

Return Value

None.

Additional Information

Library: OpenMP Run-Time Library

Include file: omp.h

LabWindows/CVI compatibility: LabWindows/CVI 2013 and later