Skip to content

koreader binary on every platform #2046

Open
@pazos

Description

@pazos

Intent

A koreader binary on each supported platform

The binary replaces ./reader.lua on each platform shell scripts.

Purpose

  1. Keep logs on a ring buffer instead of redirecting stdout to file
  2. Run the luajit instance on a thread and wait for it to finish
  3. Dump ring buffer to crash.log when the lua vm dies unexpectedly
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions