Robert Klemme wrote:
> On 11.12.2006 12:06, Boris Mojo-jojo wrote:
>> 
>> You don't want to use one queue, because when two messages are sent to 
>> one device one after another then all other messages will wait because 
>> second message will not be processed till first one is processed.
> 
> True, in that case "select" would help.  But you can easily write your
> own processor with thread pool.  You can get ideas from Queue internals
> or http://wiki.rubygarden.org/Ruby/page/show/MultiThreading
> 
> Kind regards
> 
>   robert

Thanks a lot for the link

-- 
Posted via http://www.ruby-forum.com/.