From: Brian Candler Date: 2007-08-23T23:34:09+09:00 Subject: Re: Fibers in Ruby 1.9? On Thu, Aug 23, 2007 at 02:21:51PM +0900, Sam Roberts wrote: > Quoting mental@rydia.net, on Thu, Aug 23, 2007 at 03:45:02AM +0900: > > Anyway, fibers can be a useful thing to have as a foundation for > > lightweight concurrency, even in the presence of native threads (e.g. you > > can have a worker thread per CPU, each one executing fiber-based tasks > > from a work pool), although there are portability trade-offs with respect > > to environments like the JVM. > > How are fibers different from ruby 1.8 "threads", which were user-space > implemented. Fibers never preempt?