mruby/mruby — pull request #1994 by take-cheeze (2014-04-03 03:03:09+00:00)
Title: Add Fiber#resumable? and Fiber#transferable? .

`Fiber#resumable?` returns `true` when the fiber can be resumed.
`Fiber#transferable?` returns `true` when the fiber can be transferred.
The difference between `Fiber#alive?` is that these return `false` when the fiber is running or in resume stack.