OpenMP nested locks

OpenMP nested locks


I assume that regular open mp locks (not nested) resolve on Intel chipsets
to assembly instructions that need no reference whatsoever to OpenMP
thread information. Is this true?

What about nested locks? My guess is that these do not resolve to
simple assembly instructions and do need access to library static information
about what threads are running?

Please help,

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.