ProcessWorker#
- class montreal_forced_aligner.utils.ProcessWorker(job_name, job_q, function, return_q, stopped)[source]#
Bases:
ProcessMultiprocessing function work
- Parameters:
job_name (int) – Integer number of job
job_q (
Queue) – Job queue to pull arguments fromfunction (Callable) – Multiprocessing function to call on arguments from job_q
return_dict (dict) – Dictionary for collecting errors
stopped (
Stopped) – Stop checkreturn_info (dict[int, Any], optional) – Optional dictionary to fill if the function should return information to main thread