#460 threaded coordinator and moved UI start to render thread

This commit is contained in:
Mikayla Fischler
2024-04-07 19:37:06 -04:00
parent 3537c59365
commit 31a663e86b
4 changed files with 428 additions and 218 deletions

View File

@@ -376,6 +376,13 @@ function iocontrol.fp_monitor_state(id, connected)
end
end
-- report thread (routine) statuses
---@param thread string thread name
---@param ok boolean thread state
function iocontrol.fp_rt_status(thread, ok)
io.fp.ps.publish(util.c("routine__", thread), ok)
end
-- report PKT firmware version and PKT session connection state
---@param session_id integer PKT session
---@param fw string firmware version