import threading balance = 0 def change_it_without_lock(n): global balance # 不加锁的话最后的值不是0 # 线程共享数据危险在于多个线程同时改同 ...
確定! 回上一頁