Home | History | Annotate | Download | only in python2.7

Lines Matching refs:_active

70                     name = _active[ident].name
140 owner = _active[owner].name
632 _active = {} # maps thread id to Thread object
795 _active[self.__ident] = self
860 del _active[_get_ident()]
883 # len(_active) is always <= 1 here, and any Thread instance created
884 # overwrites the (if any) thread currently registered in _active.
894 # _active if dummy_threading is being used is a red herring. But
900 del _active[_get_ident()]
1093 _active[_get_ident()] = self
1121 # leave an entry in the _active dict forever after.
1139 _active[_get_ident()] = self
1158 return _active[_get_ident()]
1173 return len(_active) + len(_limbo)
1179 return _active.values() + _limbo.values()
1190 return _active.values() + _limbo.values()
1223 for thread in _active.itervalues():
1239 _active.clear()
1240 _active.update(new_active)
1241 assert len(_active) == 1