||IO Reactor for event-driven multiplexed IO in a single thread
||2003-07-23 12:54:30 GMT
||2004-11-16 03:42:49 GMT
(Projects of this owner)
This module is a pure-Ruby implementation of an asynchronous multiplexed IO Reactor which is based on the Reactor design pattern found in _Pattern-Oriented Software Architecture, Volume 2: Patterns for Concurrent and Networked Objects_. It allows a single thread to demultiplex and dispatch events from one or more IO objects to an appropriate handler.
This module used to be called Ruby-Poll, and used to use the poll(2) system call, but this strategy was not portable, and didn't work with Ruby's threads. This version is almost a complete rewrite of the internals, though it should work mostly the same from the outside. It now uses IO::select, which should work everywhere Ruby does.
Requires Ruby >= 1.8.0
Changes in this version:
* Added gem
* Made version number line up with other RAA libs.
* Minor bugfixes.