trevlovett / Python-Ant-Colony-TSP-Solver

Solves the TSP using multithreaded ACO method
BSD 3-Clause "New" or "Revised" License
103 stars 49 forks source link

Remove prints will cause deadlock #7

Open duanxinpeng opened 4 years ago

duanxinpeng commented 4 years ago

Hello, I find that if we remove all the print sentences in Ant class, it will cause deadlock. Is there something wrong about the multi-thread?