There is the Lock object in the threading module. But there is no medode there I could aquire a scoped lock like: mutex = threading.Lock()
確定! 回上一頁