Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
tools.skpbench.skpbench.SubprocessMonitor Class Reference
Inheritance diagram for tools.skpbench.skpbench.SubprocessMonitor:

Public Member Functions

def __init__ (self, queue, proc)
 
def run (self)
 

Detailed Description

Definition at line 126 of file skpbench.py.

Constructor & Destructor Documentation

◆ __init__()

def tools.skpbench.skpbench.SubprocessMonitor.__init__ (   self,
  queue,
  proc 
)

Definition at line 127 of file skpbench.py.

127 def __init__(self, queue, proc):
128 self._queue = queue
129 self._proc = proc
130 Thread.__init__(self)
131

Member Function Documentation

◆ run()

def tools.skpbench.skpbench.SubprocessMonitor.run (   self)
Runs on the background thread.

Definition at line 132 of file skpbench.py.

132 def run(self):
133 """Runs on the background thread."""
134 for line in iter(self._proc.stdout.readline, b''):
135 self._queue.put(Message(Message.READLINE, line.decode('utf-8').rstrip()))
136 self._queue.put(Message(Message.EXIT))
137
def run(cmd)
Definition: run.py:14

The documentation for this class was generated from the following file: