ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.310 by root, Tue Jan 5 10:45:25 2010 UTC vs.
Revision 1.311 by root, Wed Feb 10 13:33:44 2010 UTC

1390 warn "AnyEvent: using Time::HiRes for sub-second timing accuracy.\n" if $VERBOSE >= 8; 1390 warn "AnyEvent: using Time::HiRes for sub-second timing accuracy.\n" if $VERBOSE >= 8;
1391 *_time = \&Time::HiRes::time; 1391 *_time = \&Time::HiRes::time;
1392 # if (eval "use POSIX (); (POSIX::times())... 1392 # if (eval "use POSIX (); (POSIX::times())...
1393 } else { 1393 } else {
1394 warn "AnyEvent: using built-in time(), WARNING, no sub-second resolution!\n" if $VERBOSE; 1394 warn "AnyEvent: using built-in time(), WARNING, no sub-second resolution!\n" if $VERBOSE;
1395 *_time = sub { time }; # epic fail 1395 *_time = sub (){ time }; # epic fail
1396 } 1396 }
1397 1397
1398 &_time 1398 &_time
1399} 1399}
1400 1400

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines