On Jan 23, 2008, at 11:26 AM, ram wrote:

>
> I'm running into a strange issue where occasionally references to
> global objects (i.e. items stored in the Pylons 'g' variable)
> mysteriously vanish after some time. This seems to happen
> sporadically, but especially after Paste has made a "hung thread
> check".
>
> Has anyone seem something similar to this? Could someone point me to
> where that global object is mapped into a thread's namespace so that I
> can set up some kind of assertion watch on this?
>

You've probably already figured out that  
paste.registry.StackedObjectProxy is where the thread local is setup.  
What you describe sounds pretty strange, though, because no matter  
how many threads are created/destroyed, there's only one G object for  
the lifetime of the process.

Have you made any headway on figuring this out?

--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to