epoll: clear FD marks snapshot before returning
commitc1fdf07413364407d148fb588cd1c2ba1fe7f677
authorEric Wong <normalperson@yhbt.net>
Tue, 30 Apr 2013 02:05:22 +0000 (30 02:05 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 30 Apr 2013 02:05:22 +0000 (30 02:05 +0000)
treecf1d1e2456e4d9b1ed997c96b686f7308146a6af
parentd5e6ab56efd5a3c538c8f31b120c0dff6dbcf38a
epoll: clear FD marks snapshot before returning

This allows the heap to reclaim memory sooner (than waiting for
GC), lowering memory usage and perhaps speeding up future
allocations.
lib/sleepy_penguin/epoll.rb