On Jul 6, 2012, at 2:07 AM, Brice Figureau wrote: > >> By moving a couple of things around I think we can cache those calls >> instead of needing to keep the cache of not found types. We'll keep >> you posted on what we come up with. > > Thanks, I'm looking forward to that!
Brice, maybe you can shed some light on this. One of your commits uses Thread.current for storing another cache of missing data. The thing that confuses us, though, is that the other side of that (the cache for present data) is not stored in Thread.current. Throughout the codebase Patrick and I have been looking at the use of Thread.current and synchronization and haven't been able to figure out the strategy for when to use threading constructs and when not to. Can you maybe explain a bit about when multiple threads of execution need to be taken into consideration and when they don't? > -- > Brice Figureau > Follow the latest Puppet Community evolutions on www.planetpuppet.org! > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to puppet-dev@googlegroups.com. > To unsubscribe from this group, send email to > puppet-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.