The programmer can provide hints about the expected dynamic behavior or suggested implementation of a lock by using omp_init_lock_with_hint or omp_init_nest_lock_with_hint to initialize it. Synchronization hints may also be provided for atomic and critical directives by using the hint clause. The effect of a hint does not change the semantics of the associated construct; if ignoring the hint changes the program semantics, the result is unspecified.
Cross References