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
|
||||
|
||||
-- iterate sessions and free any closed sessions
|
||||
-- iterate sessions and free any closed ones
|
||||
apisessions.iterate_all()
|
||||
apisessions.free_all_closed()
|
||||
|
||||
@ -233,8 +233,7 @@ function threads.thread__main(smem)
|
||||
iocontrol.fp_rt_status("main", false)
|
||||
|
||||
-- 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" otherwise)
|
||||
-- this thread cannot be slept because it will miss events (namely "terminate")
|
||||
if not crd_state.shutdown then
|
||||
log.info("main thread restarting now...")
|
||||
end
|
||||
@ -244,7 +243,7 @@ function threads.thread__main(smem)
|
||||
return public
|
||||
end
|
||||
|
||||
-- coordinator renderer thread
|
||||
-- coordinator renderer thread, tasked with long duration re-draws
|
||||
---@nodiscard
|
||||
---@param smem crd_shared_memory
|
||||
function threads.thread__render(smem)
|
||||
|
Loading…
Reference in New Issue
Block a user