Home > other >  Python multithreading a little bit about locked small problem
Python multithreading a little bit about locked small problem

Time:03-07


I want to ask,

Break it out of the cycle is not in this picture while true this cycle out of the cycle after the following to the

 
Print (" % s % d yuan want to consumption, but the balance only % d "% (threading. Current_thread (). The name, money, gMoney))
Glock. Release ()


Why this two code on the outside is not in the loop
  • Related