Charles Oliver Nutter wrote:
> FWIW, in JRuby we checkpoint, and we hate having to do it. Essentially 
> we set up heartbeat checks at the same points where normal Ruby calls 
> into its thread scheduler. That gives us roughly the same granularity of 
> events, and so we can emulate interruptible threads. And in general, 
> performs is impacted only slightly by this overhead:

Here's an article describing Ruby's thread model (1.8, not 1.9, though 
1.9 is similar but uses native threads and a GIL):

http://spec.ruby-doc.org/wiki/Ruby_Threading

- Charlie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to