in reply to Re^2: Solaris + UltraSparc T2 + Threads: Avoid LCK's
in thread Solaris + UltraSparc T2 + Threads: Avoid LCK's
The problem its related with the random function, whenever I use it the LOCKs appears... When I don't use it the CPU reaches the 100%
Can we assume that we must avoid rand function whenever using threads?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Solaris + UltraSparc T2 + Threads: Avoid LCK's
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 |