]> Kevux Git Server - controller/commit
Update: Relocate the clean up thread thread cancel state.
authorKevin Day <Kevin@kevux.org>
Tue, 12 Aug 2025 02:51:13 +0000 (21:51 -0500)
committerKevin Day <Kevin@kevux.org>
Tue, 12 Aug 2025 02:51:13 +0000 (21:51 -0500)
commit197111f01b5ef7a50c15db79eae9a56e7f1b5f13
tree3cfef1f8f1b2a646e7d5523792712faccd4ba030
parent9177b31e38779a0706ff2a2126a7d09257f054fe
Update: Relocate the clean up thread thread cancel state.

Relocate the cancel state changes to outside both waits.

I do not like how this is now happening with a thread lock in place.
I will need to do further research and possibly further changes to better handle this.

For now, this is necessary so that when I send an interrupt signal that the clean up thread will cancel properly.
sources/c/program/controller/main/thread/cleanup.c