M
MenTaLguY
--=-kPr4rus7PLehoTMBz+I6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
fastthread is a library which replaces the synchronization primitives
defined in stdlib=E2=80=99s thread.rb (Mutex, ConditionVariable, Queue, and
SizedQueue) with optimized versions which:
* are much faster (in the non-contention case, speed comparable to
direct use of Thread.critical or Thread.exclusive)
* don=E2=80=99t leak memory (the stdlib implementation of Mutex manag=
es to
trigger worst-case behavior of a memory leak in Array)
To use it, simply require 'fastthread' before you require 'thread'.
Provided you don=E2=80=99t muck with thread.rb=E2=80=99s internals, your co=
de should
work with no additional modification.
0.4 is primarily a robustness/bugfix release. There is both a gem and a
tarball available:
* http://moonbase.rydia.net/software/optimized-locking/fastthread-0.4=
gem
* http://moonbase.rydia.net/software/optimized-locking/fastthread-0.4=
tgz
-mental
--=-kPr4rus7PLehoTMBz+I6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBFZgimSuZBmZzm14ERAv/kAKDOVRoGgK4TTbmCTeV5oJk4RyGixACgi/TX
0uF3JysBu4rfvwFw0mEp5vE=
=NnDa
-----END PGP SIGNATURE-----
--=-kPr4rus7PLehoTMBz+I6--
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
fastthread is a library which replaces the synchronization primitives
defined in stdlib=E2=80=99s thread.rb (Mutex, ConditionVariable, Queue, and
SizedQueue) with optimized versions which:
* are much faster (in the non-contention case, speed comparable to
direct use of Thread.critical or Thread.exclusive)
* don=E2=80=99t leak memory (the stdlib implementation of Mutex manag=
es to
trigger worst-case behavior of a memory leak in Array)
To use it, simply require 'fastthread' before you require 'thread'.
Provided you don=E2=80=99t muck with thread.rb=E2=80=99s internals, your co=
de should
work with no additional modification.
0.4 is primarily a robustness/bugfix release. There is both a gem and a
tarball available:
* http://moonbase.rydia.net/software/optimized-locking/fastthread-0.4=
gem
* http://moonbase.rydia.net/software/optimized-locking/fastthread-0.4=
tgz
-mental
--=-kPr4rus7PLehoTMBz+I6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQBFZgimSuZBmZzm14ERAv/kAKDOVRoGgK4TTbmCTeV5oJk4RyGixACgi/TX
0uF3JysBu4rfvwFw0mEp5vE=
=NnDa
-----END PGP SIGNATURE-----
--=-kPr4rus7PLehoTMBz+I6--