From: rmt512@... Date: 2005-09-09T01:56:30+09:00 Subject: Re: myriad/event comment (was RE: [ANN] Rio 0.3.4) >>The short answer is I'll look at >> Ruby Threads and Myriad integration which might solve some of the >> problems. Right on :) >>Your question really has nothing really to do with DBs and more to do >>with running non-Myriad stuff without blocking Myriad. I noticed this problem in another way. My old chatserver started DRb and handed it the server class so I could quickly get number of chatters, chatter list etc, for an admin program. DRb didn't interfere with the select loop and runs in it's own thread fine, at least that's my understanding. When i start my myriad version the entire program just stalls when i do this DRb.start_service("druby://localhost:#{ARGV[1].to_i+10}",@@rooms) Myriad.run do Myriad.trap('INT') { Myriad.shutdown } listener = Myriad::Listener.new(ARGV[0], ARGV[1], OneRoomChatServer) end now I'm thinking, maybe the Event.loop(Event::NONBLOCK) would be good inside the Drb service somewhere? this isn't actually that important to me right now, just pointing it out. R