On Mar 6, 2009, at 12:58 PM, Kamil Gorlo wrote:
> > On Thu, Mar 5, 2009 at 10:32 PM, Philip Jenvey > <[email protected]> wrote: >> Though Jython and IronPython lack a GIL, they ensure the methods we >> expect to be thread safe on the core data structures are in fact >> thread safe, for compatibility with CPython. > > So, is there any place where can I read what is thread safe in > IronPython or Jython (what means: what should be done to be compatible > with CPython and what means: what can CPython guarantee in terms of > thread safety)? Unfortunately, no, not one that I know of. Which is a little unfortunate for Jython/IronPython -- their collection classes would be a little faster if they didn't do thread safety. Even still, you should be able to utilize multiple threads better on these implementations. They're essentially doing fine grained locking, instead of one giant lock. -- Philip Jenvey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
