def __init__(self, sock): ProfDaemonThread.__init__(self) self.sock = sock self.setName("profiler.Writer") self.messageQueue = _queue.Queue() if pydevd_vm_type.GetVmType() == 'python': self.timeout = 0 else: self.timeout = 0.1
def __init__(self, mainThread): self.mainThread = mainThread self.interruptable = False self.exec_queue = _queue.Queue(0) self.buffer = None