On Sat, 18 Jun 2005 mrt / thomaszone.com wrote:

>
>
> Robert Klemme wrote:
>> mrt / thomaszone.com wrote:
>>> Disclaimer: Ruby newbie here.
>>>
>>> Does Ruby have a multitasking server that will react to events and run
>>> user code based on those events? I'm not looking for a specialized
>>> server that is only web or tcp. I would like to handle other things as
>>> well, say for example incoming serial data.
>>>
>>> In Perl, I would use POE (http://poe.perl.org/?What_POE_Is) for such a
>>> thing, and in Python there is the Twisted framework
>>> (http://twistedmatrix.com/).
>>>
>>> Thanks in advance.
>>
>> You have threads and DRB (which uses threads internally).  Although
>> threads are non native they do their job pretty good.  Is it that what you
>> looked for?
>
> Not really, though I can't find much in English about DRB. However,
> using those terms to search RAA brought up IO::Reactor, which looks
> like the kind of thing I'm looking for EXCEPT for the fact that it
> hasn't been updated since 2003. Is it dead?

i have a tool which makes it trivial to set up a system which reacts to
filesystem events by running arbitrary programs...  can you elaborate on what
kinds of events you want to react to and how you want to react to them (eg
external programs, functions called, etc)

cheers.

-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| My religion is very simple.  My religion is kindness.
| --Tenzin Gyatso
===============================================================================