diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-26 21:23:51 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-26 21:23:51 -0800 |
commit | bd2f88ff10203dd37749e451eaac70294a4a3e56 (patch) | |
tree | 570406f2e7f3b42d38ccd576afcd2fefbff5a737 | |
parent | e3d3f3be3dc41426d4715574d367e63ba185f177 (diff) | |
download | rainbows-bd2f88ff10203dd37749e451eaac70294a4a3e56.tar.gz |
While we're at it, ensure our encoding is sane
-rw-r--r-- | lib/rainbows/fiber/queue.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rainbows/fiber/queue.rb b/lib/rainbows/fiber/queue.rb index 4c14f19..384fe2b 100644 --- a/lib/rainbows/fiber/queue.rb +++ b/lib/rainbows/fiber/queue.rb @@ -1,8 +1,10 @@ +# -*- encoding: binary -*- module Rainbows module Fiber - # a self-sufficient Queue implmentation for Fiber-based concurrency - # models + # a self-sufficient Queue implementation for Fiber-based concurrency + # models. This requires no external scheduler, so it may be used with + # Revactor as well as FiberSpawn and FiberPool. class Queue < Struct.new(:queue, :waiters) def initialize(queue = [], waiters = []) |