Commit 6df91ac5 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Rename getTag to decodeFileOpTag.

parent 96dfe043
......@@ -41,7 +41,7 @@ int setTag ( int ID, int sc )
/***************************************************************/
struct fileOpTag getTag(int tag)
struct fileOpTag decodeFileOpTag(int tag)
{
struct fileOpTag rtag;
......
......@@ -40,7 +40,7 @@ struct fileOpTag
/* pio.c */
int setTag(int, int);
struct fileOpTag getTag(int);
struct fileOpTag decodeFileOpTag(int);
/* pio_dbuffer.c */
int dbuffer_init ( struct dBuffer **, size_t );
......
......@@ -276,7 +276,7 @@ void pioWriterAIO(void)
source = status.MPI_SOURCE;
tag = status.MPI_TAG;
rtag = getTag(tag);
rtag = decodeFileOpTag(tag);
xmpi ( MPI_Get_count ( &status, MPI_CHAR, &messagesize ));
......
......@@ -209,7 +209,7 @@ void fpgPOSIXFPGUARDSENDRECV ( void )
{
xmpi ( MPI_Probe ( MPI_ANY_SOURCE, MPI_ANY_TAG, commNode, &status ));
source = status.MPI_SOURCE;
rtag = getTag(status.MPI_TAG);
rtag = decodeFileOpTag(status.MPI_TAG);
xdebug("receive message from source=%d, id=%d, command=%d ( %s )",
source, rtag.id, rtag.command, command2charP[rtag.command]);
......
......@@ -159,7 +159,7 @@ pioWriterStdIO(void)
source = status.MPI_SOURCE;
tag = status.MPI_TAG;
rtag = getTag(tag);
rtag = decodeFileOpTag(tag);
xmpi ( MPI_Get_count ( &status, MPI_CHAR, &messagesize ));
......
Supports Markdown
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