From: Rogers Gene A Civ 96 CG/SCTOB Date: 2001-03-23T00:52:58+09:00 Subject: [ruby-talk:13079] Thread Safe This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C0B2E8.1FD1BDD0 Content-Type: text/plain; charset="iso-8859-1" Here's a question (stupid, maybe): Does anyone know if ruby is thread safe? Meaning can multiple interpreters be run using threads and they won't stomp upon each other. If not is there anyone who can give me an idea of how complex this would be to implement. The ultimate idea would be to allow ruby to be embedded into other multi-threaded applications and have ruby not have to spawn a whole new version of itself every time a thread inside the host application needed some ruby scripts interpreted. Thanks, Gene Rogers ------_=_NextPart_001_01C0B2E8.1FD1BDD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thread Safe

Here's a question (stupid, maybe):

Does anyone know if ruby is thread safe?  = Meaning can multiple interpreters be run using threads and they won't = stomp upon each other.

If not is there anyone who can give me an idea of how = complex this would be to implement.  The ultimate idea would be to = allow ruby to be

embedded into other multi-threaded applications and = have ruby not have to spawn a whole new version of itself every time a = thread inside

the host application needed some ruby scripts = interpreted.

Thanks,
Gene Rogers

------_=_NextPart_001_01C0B2E8.1FD1BDD0--