Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Thread Checker and shared locks?

ronmak
Beginner
88 Views

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
88 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
88 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
88 Views
No, only that few experts on Thread Checker read this forum regularly.
Reply