in reply to Re: Solaris + UltraSparc T2 + Threads: Avoid LCK's
in thread Solaris + UltraSparc T2 + Threads: Avoid LCK's
On Solaris, my perl 5.8.8 gets random numbers by opening /dev/urandom and reading a value. I don't think that's likely to involve locks.
But one could certainly imagine a (less than ideal) pseudo-random number generator implementation that uses locks to protect shared state.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Solaris + UltraSparc T2 + Threads: Avoid LCK's
by BrowserUk (Patriarch) on Apr 24, 2009 at 12:08 UTC | |
by RMGir (Prior) on Apr 24, 2009 at 13:10 UTC |