diff options
author | Eric Wong <e@80x24.org> | 2019-06-02 03:39:32 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-02 05:23:10 +0000 |
commit | f54c29f39c4d12596866aca8438f23d00dd61705 (patch) | |
tree | 4af16326e56bf8d344d1ad3d6ca1fd77a5b77fb4 | |
parent | 1d94048ba6094b9b3bbefe279e066c3992b30408 (diff) | |
download | public-inbox-f54c29f39c4d12596866aca8438f23d00dd61705.tar.gz |
ToClose and HaveEpoll are of no use to us and I see no future use for them, either.
-rw-r--r-- | lib/PublicInbox/DS.pm | 18 | ||||
-rw-r--r-- | lib/PublicInbox/EvCleanup.pm | 2 |
2 files changed, 1 insertions, 19 deletions
diff --git a/lib/PublicInbox/DS.pm b/lib/PublicInbox/DS.pm index 9142f210..89042cfc 100644 --- a/lib/PublicInbox/DS.pm +++ b/lib/PublicInbox/DS.pm @@ -95,24 +95,6 @@ sub Reset { *EventLoop = *FirstTimeEventLoop; } -=head2 C<< CLASS->HaveEpoll() >> - -Returns a true value if this class will use IO::Epoll for async IO. - -=cut -sub HaveEpoll { - _InitPoller(); - return $HaveEpoll; -} - -=head2 C<< CLASS->ToClose() >> - -Return the list of sockets that are awaiting close() at the end of the -current event loop. - -=cut -sub ToClose { return @ToClose; } - =head2 C<< CLASS->SetLoopTimeout( $timeout ) >> Set the loop timeout for the event loop to some value in milliseconds. diff --git a/lib/PublicInbox/EvCleanup.pm b/lib/PublicInbox/EvCleanup.pm index b2f8c088..afed24ff 100644 --- a/lib/PublicInbox/EvCleanup.pm +++ b/lib/PublicInbox/EvCleanup.pm @@ -38,7 +38,7 @@ sub _run_all ($) { $_->() foreach @$run; } -# ensure PublicInbox::DS::ToClose fires after timers fire +# ensure PublicInbox::DS::ToClose processing after timers fire sub _asap_close () { $asapq->[1] ||= _asap_timer() } sub _run_asap () { _run_all($asapq) } |