mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
comments and whitespace
This commit is contained in:
parent
98c37caecd
commit
cc3174ee76
@ -142,7 +142,7 @@ function threads.thread__main(smem)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- iterate sessions and free any closed sessions
|
-- iterate sessions and free any closed ones
|
||||||
apisessions.iterate_all()
|
apisessions.iterate_all()
|
||||||
apisessions.free_all_closed()
|
apisessions.free_all_closed()
|
||||||
|
|
||||||
@ -233,8 +233,7 @@ function threads.thread__main(smem)
|
|||||||
iocontrol.fp_rt_status("main", false)
|
iocontrol.fp_rt_status("main", false)
|
||||||
|
|
||||||
-- if status is true, then we are probably exiting, so this won't matter
|
-- if status is true, then we are probably exiting, so this won't matter
|
||||||
-- if not, we need to restart the clock
|
-- this thread cannot be slept because it will miss events (namely "terminate")
|
||||||
-- this thread cannot be slept because it will miss events (namely "terminate" otherwise)
|
|
||||||
if not crd_state.shutdown then
|
if not crd_state.shutdown then
|
||||||
log.info("main thread restarting now...")
|
log.info("main thread restarting now...")
|
||||||
end
|
end
|
||||||
@ -244,7 +243,7 @@ function threads.thread__main(smem)
|
|||||||
return public
|
return public
|
||||||
end
|
end
|
||||||
|
|
||||||
-- coordinator renderer thread
|
-- coordinator renderer thread, tasked with long duration re-draws
|
||||||
---@nodiscard
|
---@nodiscard
|
||||||
---@param smem crd_shared_memory
|
---@param smem crd_shared_memory
|
||||||
function threads.thread__render(smem)
|
function threads.thread__render(smem)
|
||||||
|
Loading…
Reference in New Issue
Block a user