Skip to content

Commit

Permalink
Remove/fix some comments
Browse files Browse the repository at this point in the history
Non-functional change to bring source into sync with another working
branch.
  • Loading branch information
donald committed Dec 7, 2017
1 parent 20de356 commit 7ed96d6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ sub My::Select::time
return $time;
}

#-----------------------------------------

our @TIMER=(); # ( [duetime,cb] , ) sorted by time
our @TIMER=(); # ( [duetime,cb] , ... ) sorted by time
our $active_timer_cb;

sub timeout # cb=Select::timeout(seconds,cb) or cb=Select::Timeout(seconds,subref [,args,...])
Expand Down Expand Up @@ -86,7 +84,7 @@ sub reader_requeue {push @READER,$active_io}
sub writer_requeue {push @WRITER,$active_io}
sub except_requeue {push @EXCEPT,$active_io}

sub cancel # $cb = Select::cancel([cb])
sub cancel # $cb = Select::cancel(cb)
{
my ($cb)=@_;
defined $cb or $cb=$active_io->[1];
Expand All @@ -103,8 +101,6 @@ sub cancel_handle
@EXCEPT=grep {$_->[0] != $handle} @EXCEPT;
}

#--------------------------------------------

sub run
{
while (1) {
Expand Down

0 comments on commit 7ed96d6

Please sign in to comment.