]> Sergey Matveev's repositories - public-inbox.git/commit
evcleanup: micro-optimize asap function
authorEric Wong <e@80x24.org>
Fri, 24 Jun 2016 23:39:58 +0000 (23:39 +0000)
committerEric Wong <e@80x24.org>
Fri, 24 Jun 2016 23:40:36 +0000 (23:40 +0000)
commit59acf1776b0b4ca558ecae7dd3a36285b35a19fc
tree6e464531f3815098bb0572d2c274fe74e3861ac4
parent758fd015e2e0fe45b3606b364baf9bd8878417b8
evcleanup: micro-optimize asap function

Instead of relying on a timer with immediate callback,
arm a pipe to watch for writability, ensuring the callback
always fires.
lib/PublicInbox/EvCleanup.pm