]> Kevux Git Server - fll/commit
Feature: Controller Program should support uninterruptable and define default behavior.
authorKevin Day <thekevinday@gmail.com>
Fri, 10 Sep 2021 03:10:18 +0000 (22:10 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 10 Sep 2021 03:10:18 +0000 (22:10 -0500)
commitfb32adbd195863007fed2b4b38bde7ec90504d9e
treede005ec7d976c690dba2805c09206cc18c8efe9a
parent4bcd851a96a155736fa20a1932ba6dd91a54f19b
Feature: Controller Program should support uninterruptable and define default behavior.

After designing the Controller to support operating directly as "init", it later occurred to me that the default behavior of uninterruptable makes sense for "init" but not for "controller".
Change the behavior to default to interruptable for the "controller" program.

This change further implies that the program needs an opposite to the "--interuptable" parameter.
Implement the "--uninterruptable" parameter for this purpose.

I also noticed that there is already an "interrupted" variable but that code is dead.
Oops.
Resurrect this variable and use it for identifying for this updated interruptable behavior.
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/private-thread.c