0
有什麼方法可以找出Pool中的哪個工作進程已經執行了一個特定的工作。在python的多進程模塊中,如何找到哪個工作進程已經執行了該作業
例如,
def start_exe():
#execute some bunch of statements
if __name__ == '__main__':
p = Pool(5)
result = p.apply.async(start_exe)
print result.get()