There are no threads on gae. When multiple users visit your app simultaneously, gae will start several process to deal with the request. Every proccess has a copy of the variables.
========================== http://go2.apsppot.com 2008/11/20 Joel Odom <[EMAIL PROTECTED]> > Forgive me if this is a FAQ, but I did a little searching and did not find > an answer. > According to http://code.google.com/appengine/docs/python/appcaching.html, > GAE caches global variables in imported modules between requests. I've got > a global dictionary in a module that I'm sharing between requests. Is such > a dictionary "thread safe"? In other words, if multiple users are hitting > my application simultaneously, and both may be using the same global > dictionary, am I going to encounter problems, or will GAE handle the > situation gracefully? Thanks for any help. > > (By the way, I know that the dictionary may eventually disappear or get > recreated unless I write its information to the data store. That's okay in > the case I have in mind.) > > > > -- > http://giscoder.blogspot.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---