develooper Front page | perl.perl6.internals | Postings from July 2002

Re: [PATCH] usleep, sleep(num)

Thread Previous | Thread Next
Aldo Calpini
July 23, 2002 05:27
Re: [PATCH] usleep, sleep(num)
Message ID:
Dan Sugalski wrote:
> I like this, and want it to go in--I think it's a capability
> we should provide. However... Until it works on Win32 we need
> to wait. Can someone running a Win box grab this and get a win
> version going? When we have that, this can get committed.

I'm a little late on this ;-)

there's nothing special to do on Win32. the current Parrot_sleep
implementation on this platform is:

  Sleep(seconds * 1000);

so to get a millisecond sleep just remove the * 1000 part.
it works on any Windows from 95 up.

I don't have time now to patch Steve's patch, if nobody else
can do it, I'll do it next week.


$_=q,just perl,,s, , another ,,s,$, hacker,,print;

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About