Convert the recv and callback function prototypes to consistently use pointers to tag.
This commit was SVN r2122.
Этот коммит содержится в:
родитель
5f6df5307e
Коммит
70c4837baf
@ -220,7 +220,7 @@ typedef void (*mca_oob_callback_fn_t)(
|
||||
ompi_process_name_t* peer,
|
||||
struct iovec* msg,
|
||||
int count,
|
||||
int tag,
|
||||
int* tag,
|
||||
void* cbdata);
|
||||
|
||||
/**
|
||||
@ -240,7 +240,7 @@ typedef void (*mca_oob_callback_packed_fn_t)(
|
||||
ompi_process_name_t* peer,
|
||||
ompi_buffer_t* buffer,
|
||||
int count,
|
||||
int tag,
|
||||
int* tag,
|
||||
void* cbdata);
|
||||
|
||||
/**
|
||||
@ -290,7 +290,7 @@ int mca_oob_recv_nb(
|
||||
ompi_process_name_t* peer,
|
||||
struct iovec* msg,
|
||||
int count,
|
||||
int tag,
|
||||
int* tag,
|
||||
int flags,
|
||||
mca_oob_callback_fn_t cbfunc,
|
||||
void* cbdata);
|
||||
|
@ -14,7 +14,7 @@
|
||||
* @param cbdata (IN) User data that is passed to callback function.
|
||||
* @return OMPI error code (<0) on error or number of bytes actually received.
|
||||
*/
|
||||
int mca_oob_recv_nb(ompi_process_name_t* peer, struct iovec* msg, int count, int tag, int flags,
|
||||
int mca_oob_recv_nb(ompi_process_name_t* peer, struct iovec* msg, int count, int* tag, int flags,
|
||||
mca_oob_callback_fn_t cbfunc, void* cbdata)
|
||||
{
|
||||
return(mca_oob.oob_recv_nb(peer, msg, count, tag, flags, cbfunc, cbdata));
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user