]> Kevux Git Server - fll/commit
Progress: controller program.
authorKevin Day <thekevinday@gmail.com>
Thu, 8 Apr 2021 03:25:05 +0000 (22:25 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 8 Apr 2021 03:33:21 +0000 (22:33 -0500)
commit3b31d6b21f71a6f489688a6239084fb4a67c9542
tree3eaa28d8267fca47070ce1701dea54af0239594c
parent18d7d5fa496a108d438b58400818ae6bdf3c1995
Progress: controller program.

Update some of the comments.

The "consider" was not being loaded into the "process" array.
Change the behavior to allow for loading the "consider" rules into the "process" array without executing them.

Fix a bug where some entry items were being skipped.
The counter was being added an extra time during the loop, resulting in the skip.

The child processes are not exiting cleanly.
The state F_child was not being fully bubbled up the call stack.

It seems that when forking within a thread, the forked child process, on exit will not result in the thread returning to the caller.
For now there is 1 block (according to valgrind) that is "possibly lost" for every forked child process.
A more in depth investigation is needed.

Add a stub for an asynchronous entry that I will be writing for additional testing of the asynchronous processing.
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/controller/c/private-thread.c
level_3/controller/data/settings/example/entries/asynchronous.entry [new file with mode: 0644]