Files | Admin

Notes:

Release Name: revactor-0.1.1

Notes:
This release makes Actors first-class citizens: 
now whatever thread or fiber you're in, an Actor 
is available with Actor.current.  It also paves 
the way to thread safety: subsequent releases 
should support sending Actors across threads.

The Actor.start method has been eliminated as 
unnecessary.  Just begin using Actors wherever you
feel like it and they will work.


Changes: Eliminate Actor::Scheduler singleton and replace with thread-specific scheduler objects. Eliminate Actor.start: now there's a current Actor by default in every thread. This paves the way towards thread safety. Rename Revactor::Server to Revactor::Delegator and make more like delegator.rb Factor apart actor.rb into scheduler.rb and mailbox.rb Provide Revactor modules classes within the Actor namespace unless they have already been defined Fix Revactor::Filter initialization bug Include Revactor::VERSION variable Mailbox filters can now include only a timeout (i.e. sleep). Added an Actor.sleep shortcut to this behavior.