in reply to Re: Solaris + UltraSparc T2 + Threads: Avoid LCK's
in thread Solaris + UltraSparc T2 + Threads: Avoid LCK's
Hmm. That doesn't make sense. You have calls to rand in both examples.
The only difference being the frequency with which it is called; several thousand times more frequently in the first apparently non-locking example, than in the second apparently locking example. If rand were responsible for the locks then the first example should be the one to display the symptoms of them. Not the second.
Methinks you are misinterpreting your results.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Solaris + UltraSparc T2 + Threads: Avoid LCK's
by gulden (Monk) on Apr 23, 2009 at 18:19 UTC | |
by BrowserUk (Patriarch) on Apr 23, 2009 at 19:25 UTC | |
by gulden (Monk) on Apr 24, 2009 at 10:53 UTC | |
by BrowserUk (Patriarch) on Apr 24, 2009 at 12:15 UTC | |
by gulden (Monk) on Apr 24, 2009 at 15:12 UTC | |
by gulden (Monk) on Apr 24, 2009 at 15:23 UTC |