Is there support for shared (read) locks in the user-level synchronization API? I'm developing a Linux application where we do our own non-pThread and non-OpenMP mutexes. The four methods __itt_notify_sync_{prepare, cancel, acquired, releasing} appear to support only exclusive (write) locks. Am I missing something?
Link Copied
I'll look into VTune.
Are you suggesting that Thread Checker alone cannot do what I want through its API? That would be unfortunate since shared locks are common. pThreads has them, but we're rolling our own mutex locks.
For more complete information about compiler optimizations, see our Optimization Notice.