Skip to content

Commit 208d6ce

Browse files
committed
Add user_data argument to MPI_T_event_handle_free function.
Signed-off-by: Chris Chambreau <[email protected]>
1 parent 04ff86e commit 208d6ce

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ompi/include/mpi.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2886,6 +2886,7 @@ OMPI_DECLSPEC int PMPI_T_event_callback_set_info (MPI_T_event_registration even
28862886
OMPI_DECLSPEC int PMPI_T_event_callback_get_info (MPI_T_event_registration event_registration,
28872887
MPI_T_cb_safety cb_safety, MPI_Info *info_used);
28882888
OMPI_DECLSPEC int PMPI_T_event_handle_free (MPI_T_event_registration event_registration,
2889+
void *user_data,
28892890
MPI_T_event_free_cb_function free_cb_function);
28902891
OMPI_DECLSPEC int PMPI_T_event_set_dropped_handler (MPI_T_event_registration handle,
28912892
MPI_T_event_dropped_cb_function dropped_cb_function);
@@ -2979,6 +2980,7 @@ OMPI_DECLSPEC int MPI_T_event_handle_set_info (MPI_T_event_registration event_r
29792980
OMPI_DECLSPEC int MPI_T_event_handle_get_info (MPI_T_event_registration event_registration,
29802981
MPI_Info *info_used);
29812982
OMPI_DECLSPEC int MPI_T_event_handle_free (MPI_T_event_registration event_registration,
2983+
void *user_data,
29822984
MPI_T_event_free_cb_function free_cb_function);
29832985
OMPI_DECLSPEC int MPI_T_event_register_callback (MPI_T_event_registration event_registration,
29842986
MPI_T_cb_safety cb_safety, MPI_Info info, void *user_data,

ompi/mpi/tool/event_handle_free.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626

2727
int MPI_T_event_handle_free (MPI_T_event_registration event_registration,
28+
void *user_data,
2829
MPI_T_event_free_cb_function free_cb_function)
2930
{
3031
int ret = MPI_SUCCESS;

0 commit comments

Comments
 (0)