comments and whitespace

This commit is contained in:
Mikayla Fischler 2024-04-09 00:08:47 -04:00
parent 98c37caecd
commit cc3174ee76

View File

@ -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)