Open
Description
Intent
A koreader
binary on each supported platform
The binary replaces ./reader.lua
on each platform shell scripts.
Purpose
- Keep logs on a ring buffer instead of redirecting stdout to file
- Run the luajit instance on a thread and wait for it to finish
- Dump ring buffer to
crash.log
when the lua vm dies unexpectedly - Dump ring buffer to
koreader.log
on user demand
Unlocks:
Run the native input loop on a different thread
Many more things I cannot tell yet :)
Notes
I'm not interested in multiple lua threads.
Metadata
Metadata
Assignees
Labels
No labels