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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -