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