From: Daniel Berger Date: 2007-08-22T20:38:56+09:00 Subject: Re: Fibers in Ruby 1.9? David Flanagan wrote: > I just noticed that my ruby1.9 build of August 17th includes a Fiber > class. The implementation shares the file cont.c with Continuations, > but it is still undocumented and I can't figure it out. > > Can anyone (Sasada-san?, Matz?) explain Fiber? How likely is this to > remain in the final version? And what about these new external iterator > methods that have appeared in Enumerator? Here's how fibers are described by MSDN: A fiber is a unit of execution that must be manually scheduled by the application. Fibers run in the context of the threads that schedule them. Each thread can schedule multiple fibers. In general, fibers do not provide advantages over a well-designed multithreaded application. However, using fibers can make it easier to port applications that were designed to schedule their own threads. Regards, Dan