DISPATCH
omp_lock_mod Module Reference

The lock module uses nested locks, to allow versatile use of locks, where a procedure may want to make sure to lock a data type, even though it may (or may not) already have been locked by another procedure in the calling hierarchy. More...

Data Types

type  lock_t
 

Variables

integer, save verbose =0
 
type(lock_t), save, public omp_lock
 

Detailed Description

The lock module uses nested locks, to allow versatile use of locks, where a procedure may want to make sure to lock a data type, even though it may (or may not) already have been locked by another procedure in the calling hierarchy.

NOTE: Enabling trace_mod here, via the TRACE macro, causes a dependency loop, and can only be compiled if/when the code is already successfully compiled. It should only be used to trace problems with locks.