]> Kevux Git Server - fll/commit
Update: Add additional protection around assignment of global.thread.enabled during...
authorKevin Day <Kevin@kevux.org>
Sat, 13 Jul 2024 04:57:20 +0000 (23:57 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 13 Jul 2024 05:08:42 +0000 (00:08 -0500)
commit7b4f55c96a9fe61104d76ce8ad4670c7c708207b
tree332adc36f3b9d08970e7f505d320103c382e5fc3
parentf9c8d8e731928a9705d0208046b2a7faf92ccf32
Update: Add additional protection around assignment of global.thread.enabled during Controller exit process.

Spend some time trying to ensure that the mutex lock can be achieved and then change the enabled state to disabled.
Add a maximum retry as a fail safe but otherwise keep retrying unless certain error conditions are encountered.
level_3/controller/c/common/private-lock.h
level_3/controller/c/thread/private-thread_process.c