Prototype two workers: blocking and multiplexing

This commit is contained in:
Thibault Jouan
2015-04-17 21:25:00 +00:00
parent 0164b52465
commit 0176ab0010
5 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
module Uh
module WM
module Workers
class Blocking < Base
def work_events
#until yield
# @on_events_read_bang.call
#end
#@on_events_read_bang.call until yield
@on_read_next.call
end
end
end
end
end