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
Exemple #2
0
 def __init__(self, sock, message_processor):
     ProfDaemonThread.__init__(self)
     self.sock = sock
     self.processor = message_processor
     self.setName("profiler.Reader")
 def __init__(self, sock, message_processor):
     ProfDaemonThread.__init__(self)
     self.sock = sock
     self.processor = message_processor
     self.setName("profiler.Reader")