Definition at line 126 of file skpbench.py.
◆ __init__()
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
◆ run()
tools.skpbench.skpbench.SubprocessMonitor.run |
( |
|
self | ) |
|
Runs on the background thread.
Definition at line 132 of file skpbench.py.
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
◆ _proc
tools.skpbench.skpbench.SubprocessMonitor._proc |
|
protected |
◆ _queue
tools.skpbench.skpbench.SubprocessMonitor._queue |
|
protected |
The documentation for this class was generated from the following file: