Sun Studio 12: OpenMP API User's Guide

2.6 Checking OpenMP Programs With the Thread Analyzer

You can check your OpenMP program for data races and deadlocks by using the Sun Studio Thread Analyzer tool. Refer to the Thread Analyzer manual and the tha(1) man page for details.