|
DTNMA Reference Tools v2.2.0 - 5.ga116361
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
#include "exec_status.h"#include <cace/util/defs.h>#include <cace/util/logging.h>#include <stddef.h>
Include dependency graph for exec_status.c:Functions | |
| void | refda_exec_status_init (refda_exec_status_t *obj) |
| void | refda_exec_status_deinit (refda_exec_status_t *obj) |
| bool | refda_exec_status_wait (refda_exec_status_t *obj) |
| Wait for the finished semaphore and take it. | |
| void | refda_exec_status_post (refda_exec_status_t *obj, bool failed) |
| Set the failed state and post the semaphore. | |
| void refda_exec_status_deinit | ( | refda_exec_status_t * | obj | ) |
| void refda_exec_status_init | ( | refda_exec_status_t * | obj | ) |
| void refda_exec_status_post | ( | refda_exec_status_t * | obj, |
| bool | failed | ||
| ) |
Set the failed state and post the semaphore.
| [in,out] | obj | The status to update. |
| failed | True to mark as a failure. |
References CACE_LOG_DEBUG, refda_exec_status_t::failed, refda_exec_status_t::finished, refda_exec_status_t::on_finished, refda_exec_status_t::on_finished_arg, and refda_exec_status_t::seq.
Referenced by refda_exec_add_target(), refda_exec_proc_clear(), refda_exec_proc_pop_front(), refda_exec_seq_pop_front(), and refda_exec_seq_terminate().
| bool refda_exec_status_wait | ( | refda_exec_status_t * | obj | ) |
Wait for the finished semaphore and take it.
| [in] | obj | The status to wait on. |
References CHKRET, refda_exec_status_t::failed, and refda_exec_status_t::finished.
Referenced by refda_agent_startup_exec().