From: Tyler Riddle Date: Mon, 17 Dec 2012 18:13:28 +0000 (-0800) Subject: make note about deadlock when moving position of timer execution X-Git-Tag: v0.003001_01~27 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=1c0c66a20d5841376ee26a026f5d6593b8fe6f0d make note about deadlock when moving position of timer execution --- diff --git a/lib/Object/Remote/MiniLoop.pm b/lib/Object/Remote/MiniLoop.pm index ee1f544..9686bde 100644 --- a/lib/Object/Remote/MiniLoop.pm +++ b/lib/Object/Remote/MiniLoop.pm @@ -180,6 +180,7 @@ sub loop_once { last; } + #moving the timers above the read() section exposes a deadlock log_trace { "Read from $read_count filehandles; wrote to $write_count filehandles" }; my $timers = $self->_timers; my $now = time();