Python multiprocessing pool : How to check if a specific worker has finished -
i want log times multiprocessing.pool workers take individually , i'm creating processes follows
p = multiprocessing.pool(processes=4,initializer=initializer,initargs=(arg1,)
in initializer
function , can log time when each worker starts. i'm looking similar hook/function called when worker finishes, there this?
Comments
Post a Comment