From: MikkelFJ Date: 2001-12-20T07:08:14+09:00 Subject: [ruby-talk:29010] Re: A Ruby programmer walked into a bar and ordered a Ruby-Thread "Dave Thomas" wrote in message news:m2bsgv7wxz.fsf@zip.local.thomases.com... > Luc Heinrich writes: > secondary issue is the extensions that are already out there. How many > of there are also not thread safe, and what impact would running under > a native threading model have on them? I think there should be a main extension thread and additional extension threads. This would by default run all extensions serialized. If an extensions declares itself threadsafe, it would have to synchronized itself against the Ruby kernel and in return it would be allowed to run in a different thread. The main extension thread would internally do synchronziation for the extensions against other Ruby native threads. This may not always work - but then you'd have to run everything in a single native thread which should remain an option. MikkelFJ