Morton Goldberg
9/16/2007 3:18:00 PM
On Sep 15, 2007, at 3:54 PM, 7stud -- wrote:
> That was my analysis too, however pickaxe2 has some code on p. 138
> that
> calls rand(0.1).
You've found a bug in the Pickaxe book. I'm guessing but I suspect that
sleep(rand(0.1))
should be
sleep(0.1 * rand)
That is, I think the idea was to sleep in the range 0.0 to 0.1
seconds, not 0.0 to 1.0 seconds.
Regards, Morton