This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bfecbe0
)
select() portability nit.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 27 May 2002 02:39:04 +0000
(
02:39
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 27 May 2002 02:39:04 +0000
(
02:39
+0000)
p4raw-id: //depot/perl@16807
pod/perlfunc.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
bfb91bb
..
0b40eb7
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-4251,6
+4251,9
@@
You can effect a sleep of 250 milliseconds this way:
select(undef, undef, undef, 0.25);
+Note that whether C<select> gets restarted after signals (say, SIGALRM)
+is implementation-dependent.
+
B<WARNING>: One should not attempt to mix buffered I/O (like C<read>
or <FH>) with C<select>, except as permitted by POSIX, and even
then only on POSIX systems. You have to use C<sysread> instead.