Next: omp_test_nest_lock, Previous: omp_init_nest_lock, Up: Runtime Library Routines
omp_set_nest_lock
– Wait for and set simple lockomp_init_nest_lock
. The calling thread is blocked until the lock
is available. If the lock is already held by the current thread, the
nesting count for the lock in incremented.
Prototype: | void omp_set_nest_lock(omp_nest_lock_t *lock);
|
Interface: | subroutine omp_set_nest_lock(lock)
|
integer(omp_nest_lock_kind), intent(out) :: lock
|