Commit Graph

12 Commits

Author SHA1 Message Date
blankie 3219ebf65e
Parse buffer lines 2023-01-20 21:41:06 +07:00
blankie d5cf2584db
Fix read bug
Reproduction code:
import time
s = "--------- switch to main\n--------- switch to system\n"
print(s[:0xc], end='', flush=True)
time.sleep(1)
print(s[0xc:], end='', flush=True)
2023-01-20 21:31:07 +07:00
blankie b6ad9c5d90
Parse logcat entries 2023-01-19 23:34:03 +07:00
blankie 6c339fa799
Handle lines from stdout and stderr 2023-01-19 15:25:29 +07:00
blankie d9c7184b0e
Add debug button to request a log entry from the logcat thread 2023-01-18 23:43:30 +07:00
blankie 0132b3ca1d
Add inter-thread communication 2023-01-18 23:34:17 +07:00
blankie 277c9500f9
Use ubsan and tsan 2023-01-17 23:22:12 +07:00
blankie 6f5fa39b04
Rewrite errno handling 2023-01-17 22:35:08 +07:00
blankie 398909328c
Create stdout and stderr pipes 2023-01-17 21:44:17 +07:00
blankie 708fc3b16a
Stop logcat thread when the event loop is stopped 2023-01-17 20:59:04 +07:00
blankie ace07768ee
Use a class for the logcat thread 2023-01-17 20:56:56 +07:00
blankie 2778fb039b
Add a basic logcat thread 2023-01-16 16:10:53 +07:00