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?