about summary refs log tree commit homepage
path: root/lib/rainbows/fiber
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-26 21:23:51 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-26 21:23:51 -0800
commitbd2f88ff10203dd37749e451eaac70294a4a3e56 (patch)
tree570406f2e7f3b42d38ccd576afcd2fefbff5a737 /lib/rainbows/fiber
parente3d3f3be3dc41426d4715574d367e63ba185f177 (diff)
downloadrainbows-bd2f88ff10203dd37749e451eaac70294a4a3e56.tar.gz
While we're at it, ensure our encoding is sane
Diffstat (limited to 'lib/rainbows/fiber')
-rw-r--r--lib/rainbows/fiber/queue.rb6
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 = [])