preemptive scheduling

Ruby Fibers: 8 Useful Reads On Ruby’s New Concurrency Feature

Ruby Inside  Wed, 05/13/2009 - 13:47

fibers.pngNew to Ruby 1.9 is the concept of fibers.

Fibers are light-weight (green) threads with manual, cooperative scheduling, rather than the preemptive scheduling of Ruby 1.8's threads.

Since Ruby 1.9's threads exist at the system level, fibers are, in a way, Ruby 1.9's answer to Ruby 1.8's green threads, but lacking the pre-emptive scheduling.