Need ThreadlocalMmstats subclass for the current "magical/global" approach and leave the base MmStats class alone #28

Open
psbanka opened this Issue Feb 5, 2013 · 0 comments

Comments

Projects
None yet
1 participant

psbanka commented Feb 5, 2013

So I have a Python project that I'm trying to gather stats in. I need to instantiate objects which cross thread boundaries, and those objects are in multiple modules, so using a global variable to keep track of all the statistics objects doesn't seem to be an option. When objects cross the thread boundary, they lose all data. Would love to see a subclass of the MmStats baseclass that is not ThreadLocal so that it can cross thread boundaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment