]> Kevux Git Server - fll/commit
Update: Implement "execute" support and fix bugs.
authorKevin Day <thekevinday@gmail.com>
Mon, 26 Apr 2021 23:45:23 +0000 (18:45 -0500)
committerKevin Day <thekevinday@gmail.com>
Mon, 26 Apr 2021 23:59:30 +0000 (18:59 -0500)
commit75ab9ad4fe04539ffa13e9d744cce0354fe13d3d
treef6b7c6755236cfcb020e3e48ef17cfcb54d45c51
parent979a0725ebec73f99586a3f0a32c72677fcb8e94
Update: Implement "execute" support and fix bugs.

Provide new feature for executing into another program.
This is provided via the new Item Action "execute".

The function controller_perform_ready() is being called and the status is being checked but the status is not being assigned.

There are a few cases where thread.enabled needs to be checked and a few cases it does not need to be checked.

Several of the threads need to be aware of the normal/other status to properly determine the thread.eneabled situation.
Without this, they make incorrect decisions that result in bugs.
I did not want to implement a new structure to resolve this so instead provide custom wrapper functions to call that set the appropriate normal/other state.

The functon controller_thread_process_cancel() now needs to be caller aware so that the caller does not get cancelled.
13 files changed:
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-entry.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/c/private-thread.h
level_3/controller/data/settings/example/entries/htop-alternate.entry [new file with mode: 0644]
level_3/controller/data/settings/example/entries/htop.entry [new file with mode: 0644]
level_3/controller/data/settings/example/exits/htop-alternate.exit [new file with mode: 0644]
level_3/controller/documents/entry.txt
level_3/controller/specifications/entry.txt