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

Re: [PATCH] usleep, sleep(num)

Thread Previous | Thread Next
From:
Aldo Calpini
Date:
July 23, 2002 05:27
Subject:
Re: [PATCH] usleep, sleep(num)
Message ID:
1991904260359.20020723142539@alos.it
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.

cheers,
Aldo

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


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About