omp_lock_t

A type that holds the status of a lock, whether the lock is available or if a thread owns a lock.

The following functions use omp_lock_t:

For more information, see 3.2 Lock Functions.

Example

See omp_init_lock for an example of using omp_lock_t.

See Also

Concepts

OpenMP Data Types