--bgLLobvf7eP6VP5c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

tony summerfelt (snowzone5 / hotmail.com) wrote:

> i see that a number of modules are declared 'thread safe?'
> 
> what does this mean as it applies to ruby?

The methods inside them can be called concurrently from multiple
threads.

Note that this is not the same as reentrant, where the same method can
be safely executing simultaneously in two threads.

Thread safety can be implemented easily by adding the appropriate
mutexes.  Making a module reentrant requires more care.

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04


--bgLLobvf7eP6VP5c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQFA/UZlMypVHHlsnwQRAtb9AKCKLFdIKoIfJabeCcI6LlvDewdQ9QCeOQWm
8ZUAdm4TFitYqoZzPlEUR/geb
-----END PGP SIGNATURE-----

--bgLLobvf7eP6VP5c--