Multiprocessing debug techniques

前端 未结 2 1809
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 04:54

I\'m having trouble debugging a multi-process application (specifically using a process pool in python\'s multiprocessing module). I have an apparent deadlock and I do not know

2条回答
  •  情话喂你
    2021-02-01 05:19

    In order to avoid deadlocks in the first place, learning good practices is useful, as parallel processing is indeed quite subtle. The (free) Little Book of Semaphores can be a very enjoyable read!

提交回复
热议问题