(count, *args)
| 324 | |
| 325 | print("Example 23") |
| 326 | def start_threads(count, *args): |
| 327 | threads = [StoppableWorker(*args) for _ in range(count)] |
| 328 | for thread in threads: |
| 329 | thread.start() |
| 330 | return threads |
| 331 | |
| 332 | def drain_queue(input_queue): |
| 333 | input_queue.shutdown() |
no test coverage detected