[BangPypers] In Multiprocess module how to find which worker process is executing the job
Rahul R
rahul8590 at gmail.com
Thu Dec 22 13:05:08 CET 2011
I was wondering , if there is a way to find out which process among the
Pool has executed a particular job submitted.
For example ,
def start_exe():
##Does some task ###
if __name__ == '__main__':
p = Pool(5)
result = p.apply_async(start_exe)
print result.get()
how do i find out , which worker process from the Pool has executed the
job.
Regards,
Rahul
More information about the BangPypers
mailing list