> There may be a larger reworking of template compilation that fixes > this race condition. But I don't see an issue with fixing it with a > mutex until someone takes on that task. I'd love to hear if you have > a different or better solution to this though.
I'm not suggesting that there's a magical rewrite which avoids the need for a mutex altogether. But it would be nice to refactor the compilation code so that we have a single method with the mutex around it, and perhaps look at other race conditions in the same space. I think josh's thread-safe branch is definitely a place to start playing around. -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
