[Revactor-talk] Having problems with the chat_server example

Leon Bogaert leon at tim-online.nl
Sun Mar 16 18:08:54 EDT 2008


Will the new release for revactor be able to run on ruby 1.8?

I'm trying to use ruby-gnome2 AND revactor. But I believe that's a no-go :(

Leon

________________________________________
From: revactor-talk-bounces at rubyforge.org [revactor-talk-bounces at rubyforge.org] On Behalf Of Leon Bogaert [leon at tim-online.nl]
Sent: 16 March 2008 22:19
To: revactor-talk at rubyforge.org
Subject: Re: [Revactor-talk] Having problems with the chat_server example

Hi Tony,

Thanks for the reply.

I've added a private messaging option to your example. Just to get the hang of revactor. Is this the way something should be implemented? Or am I doing something weird now?
http://pastie.caboo.se/166473

Also, is it possible for revactor to run on jruby?

Looking forward to the new release!

Leon
________________________________________
From: bascule at gmail.com [bascule at gmail.com] On Behalf Of Tony Arcieri [tony at medioh.com]
Sent: 16 March 2008 21:41
To: Leon Bogaert
Cc: revactor-talk at rubyforge.org
Subject: Re: [Revactor-talk] Having problems with the chat_server example

On Sat, Mar 15, 2008 at 6:11 PM, Leon Bogaert <leon at tim-online.nl> wrote:
I got it. The example was for the latest version. I had the .12 version. What has changed between those versions that the chat_server wouldn't run? I'm very interested.

There's been some changes to the scheduler semantics as well as bugfixes.

I'm not particularly happy with the scheduler semantics as they exist now.  Among other things if you're trying to send messages from an interactive session, you have to manually suspend the current Actor (by calling Actor.receive or something that wraps it like Actor.sleep or Actor.tick)

Anyway, glad to hear it's working for you.  I'll be doing another release soon which will help address some of these problems.

--
Tony Arcieri
medioh.com<http://medioh.com>
_______________________________________________
Revactor-talk mailing list
Revactor-talk at rubyforge.org
http://rubyforge.org/mailman/listinfo/revactor-talk


More information about the Revactor-talk mailing list