Function rclc_executor_fini
Defined in File executor.h
Function Documentation
-
rcl_ret_t rclc_executor_fini(rclc_executor_t *executor)
Cleans up executor. Deallocates dynamic memory of
rclc_executor_t.handles
and resets all other values ofrclc_executor_t
.Attribute
Adherence
Allocates Memory
Yes
Thread-Safe
No
Uses Atomics
No
Lock-Free
Yes
- Parameters:
executor – [inout] pointer to initialized executor
- Returns:
RCL_RET_OK
if reset operation was successful- Returns:
RCL_RET_INVALID_ARGUMENT
ifexecutor
is a null pointer- Returns:
RCL_RET_INVALID_ARGUMENT
ifexecutor.handles
is a null pointer- Returns:
RCL_RET_ERROR
in an error occured (aka executor was not initialized)