summaryrefslogtreecommitdiff
path: root/t/op/sselect.t
Commit message (Collapse)AuthorAgeFilesLines
* t/op/sselect.t: reduce random failures (hopefully)David Mitchell2011-06-091-8/+21
| | | | | | | | Use Time::HiRes if available to get more accurate times, and extend the 'select(,,,N) may sleep for less than N' fudge to all platforms, not just Windows, on the grounds that reportedly other OSes suffer from this problem too. However, if HiRes is available, make the 'under' margin only 0.1s rather than 1s.
* t/op/sselect.t: add descriptions to ok() testsDavid Mitchell2011-06-091-11/+14
|
* time() resolution is full secondsJan Dubois2010-04-221-2/+4
| | | | | | So any fudging in the timing needs to be at least 1 second to have any effect. Upped the total $sleep value to 4 (on Windows) to make sure at least 3 seconds have passed. Amends commit 0ebb4f0.
* Add fudge to timing checks on WindowsJan Dubois2010-04-211-2/+7
| | | | | | | sleep() time on Win32 may be rounded down to multiple of the clock tick interval. http://www.nntp.perl.org/group/perl.perl5.porters/2010/03/msg157878.html
* The winsock select() implementation doesn't support all empty 'fd_set's.Jan Dubois2009-10-131-1/+12
| | | | | | | | | | | The code already contained a workaround for the special case select(undef, undef, undef, $sleep); but didn't handle the case when actual bit vectors were passed in that didn't have any bits set. Fixes http://rt.perl.org/rt3/Public/Bug/Display.html?id=54544
* allow "" as select bitmask [PATCH]Gisle Aas2005-10-211-3/+10
| | | | | Message-ID: <lrach229o7.fsf_-_@caliper.activestate.com> p4raw-id: //depot/perl@25818
* Passing read only values (such as string constants) to select shouldNicholas Clark2005-06-101-0/+25
croak. p4raw-id: //depot/perl@24795