Maximum size for multiprocessing.Queue item?

后端 未结 3 1741
难免孤独
难免孤独 2020-12-30 02:54

I\'m working on a fairly large project in Python that requires one of the compute-intensive background tasks to be offloaded to another core, so that the main service isn\'t

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 03:18

    Seems the underlying pipe is full, so the feeder thread blocks on the write to the pipe (actually when trying to acquire the lock protecting the pipe from concurrent access).

    Check this issue http://bugs.python.org/issue8237

提交回复
热议问题