Function rmw_destroy_guard_condition

Function Documentation

rmw_ret_t rmw_destroy_guard_condition(rmw_guard_condition_t *guard_condition)

Finalize a given guard condition handle, reclaim the resources, and deallocate the handle.

Parameters:

guard_condition[in] the guard condition handle to be destroyed

Returns:

RMW_RET_OK if successful, or

Returns:

RMW_RET_INVALID_ARGUMENT if guard_condition is null, or

Returns:

RMW_RET_ERROR if an unexpected error occurs.