Rubinius-Actor ============== An implementation of the Actor concurrency model, from the Rubinius project. Depends on Rubinius's core API class "Channel", built into Rubinius and available for JRuby via the rubinius-core-api gem. Installation ============ gem install "rubinius-actor" Usage ===== require 'rubinius/actor' include Rubinius::Actor this_io = STDOUT actor = Actor.spawn{loop{ Actor.receive{|m| m.when(IO){|io| sleep 3 io << "\n***\nHi there! It's #{Time.now}!\n***\n"} } } } actor << this_io Contribution ============ TODO ==== Credits ======= Copyright 2007-2008 MenTaLguY <mental@rydia.net> 2007-2011 Evan Phoenix <evan@fallingsnow.net>
Project
rubinius-actor
Rubinius's Actor implementation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Pull Requests
Development
Dependencies
Runtime
Project Readme