tengri/tui
2025-03-04 20:56:43 +02:00
..
examples tabula rasa 2025-03-02 14:31:04 +02:00
src make PerfModel fields public 2025-03-04 20:56:43 +02:00
Cargo.toml tabula rasa 2025-03-02 14:31:04 +02:00
README.md tabula rasa 2025-03-02 14:31:04 +02:00

tek_tui

the Tui struct (the engine) implements the tek_input::Input and tek_output::Output traits.

at launch, the Tui engine spawns two threads, a render thread and an input thread. (the application may spawn further threads, such as a jack thread.)

all threads communicate using shared ownership, Arc<RwLock> and Arc<Atomic>. the engine and application instances are expected to be wrapped in Arc<RwLock>; internally, those synchronization mechanisms may be used liberally.