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
This is based entirely on speculation and “I thought I saw something
about
it once upon a time”
Is there a page that explains what the threading model of IronRuby is? I
would be happy to write one up on the wiki, but I have no idea what is
actually going on.
/// Ruby threads are represented by CLR thread objects
(System.Threading.Thread).
/// Ruby 1.8.N has green threads where the language does the thread
scheduling.
/// We map the green threads directly to CLR threads.
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
This is based entirely on speculation and “I thought I saw something
about it once upon a time”
Is there a page that explains what the threading model of IronRuby is? I
would be happy to write one up on the wiki, but I have no idea what is
actually going on.