Created
April 25, 2015 14:27
-
-
Save flash-gordon/d53bfec76409bc3699e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.2.2 :001 > fiber = Fiber.new {} | |
=> #<Fiber:0x007fc04b891f58> | |
2.2.2 :002 > Thread.new {fiber.resume}.join | |
FiberError: fiber called across threads | |
from (irb):2:in `resume' | |
from (irb):2:in `block in irb_binding' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment