def startCollection(cls):
        "Start the automatic collection process in its own thread"

        cls.collectorThread = threading.Thread(target=cls._startCollection)
        cls.collectorThread.setDaemon(False)
        cls.collectorThread.start()
Start the automatic collection process in its own thread
recipes/Python/442513_Caching_decorator_timeout_selective/recipe-442513.py