Actually not necessary to have a finalize pointer in the module
struct; the coll base will have the mca_coll_t's from all the modules who said that they can run, and that has a finalize() method pointer in it (and this makes it uniform for the modules -- the finalize() method will *always* be called after query(); the init() function simply will not be invoked if the module was not selected). This commit was SVN r174.
Этот коммит содержится в:
родитель
422cbbf710
Коммит
ae7e1d0c5e
@ -105,7 +105,6 @@ typedef struct mca_coll_module_1_0_0 {
|
||||
|
||||
mca_coll_thread_query_fn_t collm_thread_query;
|
||||
mca_coll_query_1_0_0_fn_t collm_query;
|
||||
mca_coll_finalize_fn_t collm_finalize;
|
||||
|
||||
/* Flags */
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user