]> Kevux Git Server - fll/commit
Update: Timeout changes and documentation updates.
authorKevin Day <thekevinday@gmail.com>
Thu, 21 Jul 2022 22:44:14 +0000 (17:44 -0500)
committerKevin Day <thekevinday@gmail.com>
Thu, 21 Jul 2022 22:44:14 +0000 (17:44 -0500)
commit6d1882b1870a4f63a8255528449a8a2d725125bb
treeb3798aceddeade736332852cebedf82c77c6949d
parent8200a645864d18724f3bb3c855a7e50ac989da3c
Update: Timeout changes and documentation updates.

I seem to have forgotten to complete this functionality.
I believe it is too much work to do and this will not make the stable release.
Update the documentation to reflect this.

Add a new timeout option called "exit".
This allows for handling the timeout when exiting the program.
This is implemented and in use.
The implementation is dirt simple and sub-optimal but allows for the functionality to be quickly implemented.

The important addition here is the ability to disable the respective timeouts.
No child processes are killed when the exit timeout is disabled.
This can result in the program stalling for a long time or indefinitely.

A new flag property is added to controller_entry_t and controller_entry_action_t.
14 files changed:
level_3/controller/c/common/private-entry.h
level_3/controller/c/common/private-process.h
level_3/controller/c/common/private-rule.h
level_3/controller/c/common/private-thread.h
level_3/controller/c/entry/private-entry.c
level_3/controller/c/entry/private-entry_print.c
level_3/controller/c/entry/private-entry_print.h
level_3/controller/c/thread/private-thread_process.c
level_3/controller/documents/entry.txt
level_3/controller/documents/exit.txt
level_3/controller/documents/rule.txt
level_3/controller/specifications/entry.txt
level_3/controller/specifications/exit.txt
level_3/controller/specifications/rule.txt