Function rclc_executor_fini

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 of rclc_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 if executor is a null pointer

Returns:

RCL_RET_INVALID_ARGUMENT if executor.handles is a null pointer

Returns:

RCL_RET_ERROR in an error occured (aka executor was not initialized)