Change 31675 by [EMAIL PROTECTED] on 2007/08/03 00:34:18

        Applied after word-wrapping:
        
        Subject: [PATCH] Time::HiRes is a better suggestion than setitimer in 
perlfunc.
        From: Benjamin Smith <[EMAIL PROTECTED]>
        Date: Thu, 2 Aug 2007 18:28:05 +0100
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/pod/perlfunc.pod#571 edit

Differences ...

==== //depot/perl/pod/perlfunc.pod#571 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod#570~31623~    2007-07-18 01:17:47.000000000 -0700
+++ perl/pod/perlfunc.pod       2007-08-02 17:34:18.000000000 -0700
@@ -445,12 +445,12 @@
 previous timer without starting a new one.  The returned value is the
 amount of time remaining on the previous timer.
 
-For delays of finer granularity than one second, you may use Perl's
-four-argument version of select() leaving the first three arguments
-undefined, or you might be able to use the C<syscall> interface to
-access setitimer(2) if your system supports it.  The Time::HiRes
-module (from CPAN, and starting from Perl 5.8 part of the standard
-distribution) may also prove useful.
+For delays of finer granularity than one second, the Time::HiRes module
+(from CPAN, and starting from Perl 5.8 part of the standard
+distribution) provides ualarm().  You may also use Perl's four-argument
+version of select() leaving the first three arguments undefined, or you
+might be able to use the C<syscall> interface to access setitimer(2) if
+your system supports it. See L<perlfaq8> for details.
 
 It is usually a mistake to intermix C<alarm> and C<sleep> calls.
 (C<sleep> may be internally implemented in your system with C<alarm>)
@@ -5108,11 +5108,12 @@
 however, because your process might not be scheduled right away in a
 busy multitasking system.
 
-For delays of finer granularity than one second, you may use Perl's
-C<syscall> interface to access setitimer(2) if your system supports
-it, or else see L</select> above.  The Time::HiRes module (from CPAN,
-and starting from Perl 5.8 part of the standard distribution) may also
-help.
+For delays of finer granularity than one second, the Time::HiRes module
+(from CPAN, and starting from Perl 5.8 part of the standard
+distribution) provides usleep().  You may also use Perl's four-argument
+version of select() leaving the first three arguments undefined, or you
+might be able to use the C<syscall> interface to access setitimer(2) if
+your system supports it. See L<perlfaq8> for details.
 
 See also the POSIX module's C<pause> function.
 
End of Patch.

Reply via email to