Re: [Ironruby-core] Threading model

2010-02-14 Thread Orion Edwards
On Mon, Feb 15, 2010 at 11:17 AM, Jimmy Schementi < jimmy.scheme...@microsoft.com> wrote: > IronRuby maps Ruby’s green threads directly to CLR threads, and there is no > GIL. > Holy race conditions, batman! I'll be a lot more careful calling Thread.new now :-)

Re: [Ironruby-core] Threading model

2010-02-14 Thread Jimmy Schementi
IronRuby maps Ruby's green threads directly to CLR threads, and there is no GIL. The best documentation is just to look through IronRuby.Builtins.ThreadOps =P. Here's the fi

[Ironruby-core] Threading model

2010-02-14 Thread Orion Edwards
Here is what I *think* happens: - Thread.new and the other ruby threading methods from the ruby standard library will create and run on new CLR threads, but there is 'global interpreter lock' type thing to emulate MRI - I can sidestep the GIL by explicitly using underlying CLR threading methods

Re: [Ironruby-core] MRI 1.8.7 compatibility

2010-02-14 Thread Ryan Riley
+1 for 1.9 Once you consider that by the time IronRuby claims 1.8.7 compat Ruby will likely have a 1.8.9, I think going for 1.9 just makes the most sense. Everything else is moving or has moved to 1.9, so I'd rather see that happen. Ryan Riley Email: ryan.ri...@panesofglass.org LinkedIn: http://