为什么 Queue.Queue
有一个 task_done
方法,而 multiprocessing.Queue
没有这个方法?
最佳答案
我想你需要JoinableQueue .
关于python - 为什么 multiprocessing.Queue 没有 task_done 方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30724520/
为什么 Queue.Queue
有一个 task_done
方法,而 multiprocessing.Queue
没有这个方法?
最佳答案
我想你需要JoinableQueue .
关于python - 为什么 multiprocessing.Queue 没有 task_done 方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30724520/