python:实现互斥锁
import threading
import time
num = 0
mutex = threading.Lock()
def test1(cnt):
global num
for i in
import threading
import time
num = 0
mutex = threading.Lock()
def test1(cnt):
global num
for i in