Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
API compatible Thread based Fiber implementation for Ruby 1.8
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
README
Rakefile

README

Poor Man's Fiber (API compatible Thread based Fiber implementation for Ruby 1.8)
  (c) 2008 Aman Gupta (tmm1)

== Usage

f = Fiber.new{ |sym|
  p(sym)
  puts 'hi'
  p(Fiber.yield 1)
  puts 'bye'
  :end
}
p(f.resume :begin)
p(f.resume 2)

:begin
hi
1
2
bye
:end
Something went wrong with that request. Please try again.