]> Kevux Git Server - fll/commit
Progress: controller program.
authorKevin Day <thekevinday@gmail.com>
Sun, 11 Apr 2021 05:01:36 +0000 (00:01 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 11 Apr 2021 05:01:36 +0000 (00:01 -0500)
commitc72531fc5f10d7546e6c4ca8249baa0f3c19244b
treed3b5d026994628d5e4c2ab9f14979c670fdd482f
parent96540858a5dd0fa974ea67ead14ac0263b5a2c89
Progress: controller program.

I completely overlooked that the thread time related functions are relative to the absolute system clock.
The timed locks were all acting crazy because I used relative values!

The process status is not being initialized, resulting in invalid and error prone checks.

Begin fixing problems with the asynchronous processing.
Between incorrect uses of times and some stuctural problems, the asynchronous behavior was not operating in the order of the dependencies.
The current work fixes that, but there is still more work to do.
I expect this code to not work just yet.

There also seems to be a locking issue somewhere in here that prevents the program from fully exiting.
Check the thread conditions as those have had problems in the past.
.
20 files changed:
level_3/controller/c/controller.h
level_3/controller/c/private-common.c
level_3/controller/c/private-common.h
level_3/controller/c/private-rule.c
level_3/controller/c/private-thread.c
level_3/controller/data/settings/example/entries/asynchronous-serial.entry [new file with mode: 0644]
level_3/controller/data/settings/example/entries/asynchronous.entry
level_3/controller/data/settings/example/entries/serial.entry [new file with mode: 0644]
level_3/controller/data/settings/example/rules/asynchronous/sleep_1.rule
level_3/controller/data/settings/example/rules/asynchronous/sleep_10.rule
level_3/controller/data/settings/example/rules/asynchronous/sleep_2.rule
level_3/controller/data/settings/example/rules/asynchronous/sleep_3.rule
level_3/controller/data/settings/example/rules/asynchronous/sleep_5.rule
level_3/controller/data/settings/example/rules/asynchronous/sleep_8.rule
level_3/controller/data/settings/example/rules/serial/s_1.rule [new file with mode: 0644]
level_3/controller/data/settings/example/rules/serial/s_2.rule [new file with mode: 0644]
level_3/controller/data/settings/example/rules/serial/s_3.rule [new file with mode: 0644]
level_3/controller/data/settings/example/rules/serial/s_4.rule [new file with mode: 0644]
level_3/controller/data/settings/example/rules/serial/s_5.rule [new file with mode: 0644]
level_3/controller/data/settings/example/rules/serial/s_6.rule [new file with mode: 0644]