This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If len(to_process) < num_processes, some would not be able to get an item from the queue, thereby blocking indefinitely. In that case, use only as many consumers as necessary to process all the files.
- Loading branch information