Commit 4bc0a667 authored by Rob Latham's avatar Rob Latham
Browse files

ssg, not thallium, owns the margo handles

Ssg created the mercury handles when we created a group to observe, and
ssg is the one who deallocates them.
parent ca78a50f
......@@ -154,7 +154,8 @@ bv_client_t bv_init(MPI_Comm comm, const char * cfg_file)
for (i=0; i< nr_targets; i++) {
tl::endpoint server(*(client->engine),
ssg_get_group_member_addr(client->gid, ssg_get_group_member_id_from_rank(client->gid, i) ));
ssg_get_group_member_addr(client->gid, ssg_get_group_member_id_from_rank(client->gid, i)),
0 /* do not take ownership: ssg created these handles */ );
client->targets.push_back(tl::provider_handle(server, 0xABC));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment