def __init__(self): self.pairlock = Lock() self.iolock = MultiLock() self.start()
def init_banner(s): s.availablethreadframes = {} s.threadframes = {} s.tflock = MultiLock()