Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ronmak
Beginner
32 Views

Thread Checker and shared locks?

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?

0 Kudos
3 Replies
TimP
Black Belt
32 Views

What you're missing is that expert advice on VTune and Thread Checker should be more readily available on the VTune forum.
ronmak
Beginner
32 Views

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.

TimP
Black Belt
32 Views

No, only that few experts on Thread Checker read this forum regularly.