摘要:
锁 装饰器 from threading import Lock signal_lock = Lock() def send_signal_lock(func): def inner(*args,**kwargs): signal_lock.acquire() res = func(*args,** 阅读全文
摘要:
socket 通讯类 """用于与 Socket 通讯""" import socket import logging class SocketConnectClass: """Socket 连接通讯类""" def __init__(self, server_ip, server_port, re 阅读全文