JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Studio 12.3: Thread Analyzer User's Guide     Oracle Solaris Studio 12.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  What is the Thread Analyzer and What Does It Do?

1.1 Getting Started With the Thread Analyzer

1.1.1 What is a Data Race?

1.1.2 What is a Deadlock?

1.2 The Thread Analyzer Usage Model

1.2.1 Usage Model for Detecting Data Races

1.2.1.1 Instrument the Code for Data Race Detection

Source-level Instrumentation

Binary-level Instrumentation

1.2.1.2 Create an Experiment on the Instrumented Application

1.2.1.3 Examine the Experiment for Data Races

1.2.2 Usage Model for Detecting Deadlocks

1.2.2.1 Create an Experiment for Detecting Deadlocks

1.2.2.2 Examine the Experiment for Deadlocks

1.2.3 Usage Model for Detecting Data Races and Deadlocks

1.3 Thread Analyzer Interface

2.  The Data Race Tutorial

3.  The Deadlock Tutorial

A.  APIs Recognized by the Thread Analyzer

B.  Useful Tips

Chapter 1

What is the Thread Analyzer and What Does It Do?

The Thread Analyzer is an Oracle Solaris Studio tool that you can use to analyze the execution of a multithreaded program. The Thread Analyzer can detect multithreaded programming errors such as data races and deadlocks in code that is written using the POSIX thread API, the Solaris thread API, OpenMP directives, or a mix of these.

This chapter discusses the following topics: