event_machine: garbage avoidance for pipe responses
commitb3278b45bd5e31d97ce7b8625585692091ff4755
authorEric Wong <normalperson@yhbt.net>
Mon, 19 Jul 2010 10:09:54 +0000 (19 10:09 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 20 Jul 2010 00:04:24 +0000 (19 17:04 -0700)
tree4564e51bc7ffbda655df0415bb70527df44c891f
parent549b25fd501b0df4a4a8b5edccde6101edb0cd63
event_machine: garbage avoidance for pipe responses

Since the EM loop runs entirely in one thread, we can get away
with using a single buffer across all pipe/socket responses.
lib/rainbows/event_machine.rb