Jeremy,
I would create a ticket, at least people encountering the same problem would be able to easily find a report of the problem.
BTW, I tested and confirmed the reported issue:
$ ruby1.9 -e "require 'fiber'; Fiber.new{puts 'test'}.resume" # => test
$ macruby -e "require 'fiber'; Fiber.new{puts 'test'}.resume" # => segfault
$ ./miniruby -I ./lib/ -e "require 'fiber'; Fiber.new{puts 'test'}.resume" # => no such file to load -- fiber (LoadError)
So MacRuby doesn't support fibers yet, I'm sure Laurent is planning on implementing them while he finishes the new IO stuff him and Patrick started doing.
- Matt
Hello,
I've just noticed that, at least in 0.4, Fiber#resume causes a
segfault. I found this ticket in trac which obliquely addresses the
issue: https://www.macruby.org/trac/ticket/81.
Laurent: would a new ticket for this issue be helpful or noisy in this case?
Best,
Jeremy Voorhis
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel