On Wed, 31 Jan 2001 11:36:32 -0500, Ken Fox wrote: > You want perl to block a thread and then busy wait until >it's time for the thread to wake up? What if we take the ordinary sleep() for the largest part of the sleeping time (no busy wait), and the 4 argument select for the remainder, i.e. subsecond? What if we add a new function, say, "nap" (very short sleep), for subsecond sleeping times? -- Bart.
- Re: Why shouldn't sleep(0.5) DWIM? James Mastros
- Re: Why shouldn't sleep(0.5) DWIM? John Porter
- Re: Why shouldn't sleep(0.5) DWIM? Stephen P. Potter
- Re: Why shouldn't sleep(0.5) DWIM? Damian Conway
- Re: Why shouldn't sleep(0.5) DWIM? nick
- Re: Why shouldn't sleep(0.5) DWIM? Uri Guttman
- Re: Why shouldn't sleep(0.5) DWIM? Michael G Schwern
- Re: Why shouldn't sleep(0.5) DWIM? Bart Lateur
- Re: Why shouldn't sleep(0.5) DWIM? David Mitchell