From: MenTaLguY Date: 2007-05-29T09:53:20+09:00 Subject: [ANN] Futures and JRuby: The Omnibus Concurrency Library 0.2.1 --=-xL677J1Fq2Gb8CLTUc90 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Just a quick note that I've released version 0.2.1 of the 'concurrent' gem, which provides Actors, data-parallel programming, and transparent futures (plus lazy evaluation) for Ruby. This one adds: * Actor timeouts * Cleaned up support for Futures * Support for JRuby Downloadables are here: http://rubyforge.org/frs/?group_id=3D3690&release_id=3D12005 I'll be working on documentation for the next release, but until then, here's a brief example of futures in action: require 'concurrent/futures' include Concurrent::Futures f =3D Future.async { 3 * 3 } # the block runs in a new thread f.inspect # =3D> #> f + 1 # waits for thread to complete, then =3D> 10 f.inspect # =3D> 9 -mental --=-xL677J1Fq2Gb8CLTUc90 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBGW3l+SuZBmZzm14ERAsbkAJwOBzRlbpXYkAY2WVLQPjXggCjEfwCfavx+ iI/WxLuBVBHJHzGiNG3QRB4= =WWlc -----END PGP SIGNATURE----- --=-xL677J1Fq2Gb8CLTUc90--