pass context to wait set, and fini rmw context (#373)

* pass context to wait set, and fini rmw context

Signed-off-by: William Woodall <william@osrfoundation.org>

* use identifier rather than impl to check init status

Signed-off-by: William Woodall <william@osrfoundation.org>
This commit is contained in:
William Woodall 2019-01-24 19:43:49 -08:00 committed by GitHub
parent c6788e4e54
commit 7f6b914ac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 87 additions and 32 deletions

View file

@ -98,6 +98,7 @@ protected:
num_timers_server + num_timers_client,
num_clients_server + num_clients_client,
num_services_server + num_services_client,
&context,
rcl_get_default_allocator());
ASSERT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str;
}

View file

@ -110,6 +110,7 @@ protected:
num_timers_server + num_timers_client,
num_clients_server + num_clients_client,
num_services_server + num_services_client,
&context,
rcl_get_default_allocator());
ASSERT_EQ(ret, RCL_RET_OK) << rcl_get_error_string().str;
}