Extract the output from run_in_parallel in the order when the job is declared and submitted
Return : list
A decorator for submitting job to queue
Decorator for running func in parallel Each time this decorator is called a new multiprocessing.Queue is created And the queue is to be closed by extract_output(ps,queue_output) Return: function(**kwargs) which returns (ps,queue_outout) ps is a list of Process and queue_output is a multiprocessing.Queue