(self)
| 960 | pass |
| 961 | |
| 962 | def __repr__(self): |
| 963 | assert self._initialized, "Thread.__init__() was not called" |
| 964 | status = "initial" |
| 965 | if self._started.is_set(): |
| 966 | status = "started" |
| 967 | if self._os_thread_handle.is_done(): |
| 968 | status = "stopped" |
| 969 | if self._daemonic: |
| 970 | status += " daemon" |
| 971 | if self._ident is not None: |
| 972 | status += " %s" % self._ident |
| 973 | return "<%s(%s, %s)>" % (self.__class__.__name__, self._name, status) |
| 974 | |
| 975 | def start(self): |
| 976 | """Start the thread's activity. |