udcm: unmonitor the fd BEFORE tearing down the listen qp
This commit was SVN r26800.
Этот коммит содержится в:
родитель
3102f4fb86
Коммит
771b427027
@ -693,13 +693,13 @@ static int udcm_module_finalize(mca_btl_openib_module_t *btl,
|
||||
|
||||
BTL_VERBOSE(("destroying listing thread"));
|
||||
|
||||
/* stop monitoring the channel's fd before destroying the listen qp */
|
||||
ompi_btl_openib_fd_unmonitor(m->cm_channel->fd, NULL, NULL);
|
||||
|
||||
/* destroy the listen queue pair. this will cause ibv_get_cq_event to
|
||||
return. */
|
||||
udcm_module_destroy_listen_qp (m);
|
||||
|
||||
/* stop monitoring the channel's fd */
|
||||
ompi_btl_openib_fd_unmonitor(m->cm_channel->fd, NULL, NULL);
|
||||
|
||||
udcm_module_destroy_buffers (m);
|
||||
|
||||
if (m->cm_send_cq) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user