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.
In reply to Re^2: Solaris + UltraSparc T2 + Threads: Avoid LCK's
by RMGir
in thread Solaris + UltraSparc T2 + Threads: Avoid LCK's
by gulden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |