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

Thread Checker and shared locks?

ronmak
Beginner
331 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
Honored Contributor III
331 Views
What you're missing is that expert advice on VTune and Thread Checker should be more readily available on the VTune forum.
0 Kudos
ronmak
Beginner
331 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.

0 Kudos
TimP
Honored Contributor III
331 Views
No, only that few experts on Thread Checker read this forum regularly.
0 Kudos
Reply