Inbox.pm accessing the $in_loop variable directly raises
warnings when Inbox is loaded without DS.
# reentrant SIGCHLD handler (since reap_pids is not reentrant)
sub enqueue_reap ($) { push @$nextq, \&reap_pids };
+sub in_loop () { $in_loop }
+
sub EpollEventLoop {
local $in_loop = 1;
do {
sub cleanup_possible () {
# no need to require DS, here, if it were enabled another
# module would've require'd it, already
- eval { $PublicInbox::DS::in_loop } or return 0;
+ eval { PublicInbox::DS::in_loop() } or return 0;
eval {
require Devel::Peek; # needs separate package in Fedora