MikaylaFischler / cc-mek-scada

Configurable ComputerCraft SCADA system for multi-reactor control of Mekanism fission reactors with a GUI, automatic safety features, waste processing control, and more! Please be sure to take a look at the Wiki tab, this project has lots of docs!
https://youtube.com/playlist?list=PLPTRLQjcSlD2s6HsPe3COlfaULQZogWKK
MIT License
284 stars 11 forks source link

Create Coordinator Render Thread #460

Closed MikaylaFischler closed 2 months ago

MikaylaFischler commented 3 months ago

This makes the system more tolerant to startup in a laggy environment (avoid too long without yielding). Possible solution is to split up monitors across multiple main event loop executions.

Alternatively, add a parallel call for comms/graphics on the coordinator.

Plan: Create a render thread and move coordinator to a threaded architecture like on the reactor PLC and RTU gateway.