From: Paul Brannan Date: 2001-12-20T05:52:39+09:00 Subject: [ruby-talk:28986] Re: A Ruby programmer walked into a bar and On Thu, Dec 20, 2001 at 05:45:26AM +0900, Luc Heinrich wrote: > I guess that portability would suffer and, as somebody mentioned, quite a > lot of changes deep in Ruby guts. So how about keeping Ruby threads as is, > and adding native threads as an extension ? > > Just wondering... The problem is that this still requires changes to the "ruby guts." Currently, there are a lot of global variables floating around, and there is no locking done on them. So if you've got multiple interpreter threads, you are going to have problems, even if those threads were created from an extension. Paul