<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear_threads(self):
 """ Clears the threads snapshot. """

        for aThread in compat.itervalues(self.__threadDict):
            aThread.clear()
        self.__threadDict = dict()