tha/races with omp_prime.c example

A few observations.

1. I was just going through the "tha" tutorial. Running and analyzing the omp_prime example gives me 3 races detected. In the web version

http://developers.sun.com/sunstudio/downloads/tha/tha_using.html

there are 4 of them.

2. In figure 5, the compile command appears to have a spurious full-stop (period) at the end of the line.

3. It might also be a nice thing to provide links to plain-text source code of the examples (indented, hopefully :-).

tony

[515 byte] By [tony-curtisa] at [2007-11-26 18:12:32]
# 1

Tony, thanks for reporting the issues.

The data race detection result may vary slightly in different runs. Thread Analyzer does make sure to report at least one data race with respect to a memory location if there is at least one data races occurs on that memory location.

We will fix the page format problem and provide the source code for download in the next web update.

Thanks!

-- yuan

yuana at 2007-7-9 5:45:25 > top of Java-index,Open Source Technologies,OpenSPARC...