Start the threadpool.
(self)
| 169 | # attribute name. |
| 170 | |
| 171 | def start(self) -> None: |
| 172 | """ |
| 173 | Start the threadpool. |
| 174 | """ |
| 175 | self.joined = False |
| 176 | self.started = True |
| 177 | # Start some threads. |
| 178 | self.adjustPoolsize() |
| 179 | backlog = self._team.statistics().backloggedWorkCount |
| 180 | if backlog: |
| 181 | self._team.grow(backlog) |
| 182 | |
| 183 | def startAWorker(self) -> None: |
| 184 | """ |