MCPcopy Index your code
hub / github.com/python/cpython / logcat_thread

Method logcat_thread

Lib/test/test_android.py:34–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 self.logcat_queue = queue.Queue()
33
34 def logcat_thread():
35 for line in self.logcat_process.stdout:
36 self.logcat_queue.put(line.rstrip("\n"))
37 self.logcat_process.stdout.close()
38
39 self.logcat_thread = Thread(target=logcat_thread)
40 self.logcat_thread.start()

Callers

nothing calls this directly

Calls 3

putMethod · 0.45
rstripMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected