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

Comparing AnyEvent/lib/AnyEvent/Handle.pm (file contents):
Revision 1.172 by root, Wed Aug 5 20:50:27 2009 UTC vs.
Revision 1.174 by root, Sat Aug 8 20:52:06 2009 UTC

11 11
12AnyEvent::Handle - non-blocking I/O on file handles via AnyEvent 12AnyEvent::Handle - non-blocking I/O on file handles via AnyEvent
13 13
14=cut 14=cut
15 15
16our $VERSION = 4.901; 16our $VERSION = 4.91;
17 17
18=head1 SYNOPSIS 18=head1 SYNOPSIS
19 19
20 use AnyEvent; 20 use AnyEvent;
21 use AnyEvent::Handle; 21 use AnyEvent::Handle;
624 624
625sub timeout { 625sub timeout {
626 my ($self, $timeout) = @_; 626 my ($self, $timeout) = @_;
627 627
628 $self->{timeout} = $timeout; 628 $self->{timeout} = $timeout;
629 delete $self->{_tw};
629 $self->_timeout; 630 $self->_timeout;
630} 631}
631 632
632# reset the timeout watcher, as neccessary 633# reset the timeout watcher, as neccessary
633# also check for time-outs 634# also check for time-outs

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines