예제 #1
0
 def __init__(self, sock):
     PyDBDaemonThread.__init__(self)
     self.setDaemon(False)  #writer isn't daemon to be able to deliver all messages after main thread terminated
     self.sock = sock
     self.setName("pydevd.Writer")
     self.cmdQueue = _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