Discuss
/
Python
/
import time, threading # 假定这是你的银行存款: balance = 0 def change_it(n): # 先存后取,结果应该为0: global b
import time, threading # 假定这是你的银行存款: balance = 0 def change_it(n): # 先存后取,结果应该为0: global b
Topic source- 1
-执岸画布-
为什么我执行Lock那边的那段代码,输出的是0