On Tue, Jul 23, 2002 at 09:15:43AM -0500, Steve Purkis wrote:
> Yeah - I've had a look at this and came to a similar conclusion...
> but from the other end, just to be different :) -- unfortunately MS'
> Sleep() doesn't give you to-the-microsecond control, but i figure * 1000
> to get milliseconds is close enough (if the coder needs better control 
> maybe that will come with parrot's threading support?  ie, something like
> java's wait() method?)

Does Microsoft give you (well, us) a select() implementation that really does
honour the microsecond field of the struct timeval it's passed?
I seem to remember reading somewhere that the most portable way of
achieving a sub second sleep was to call select() for that period waiting on
no file descriptors.

Nicholas Clark

Reply via email to