diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-03 09:23:27 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-03 09:23:27 -0600 |
commit | efb26891d588662cd3d16da9477dd5542f3ce1b2 (patch) | |
tree | edb31eae39c12ee15baa28c677e83d28b5319771 /P2 | |
parent | MAybe truly traverse directories (diff) | |
download | csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar.gz csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar.bz2 csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar.lz csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar.xz csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.tar.zst csci4061-efb26891d588662cd3d16da9477dd5542f3ce1b2.zip |
comment out a lot of printf
Diffstat (limited to 'P2')
-rw-r--r-- | P2/lib/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c index 92cfbec..88fe5af 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -30,7 +30,7 @@ char *getChunkData(int mapperID) { } char* value = message.msgText; // printf("%s\n", message.msgText); - printf("%s\n", value); + // printf("%s\n", value); return value; //return &(message.msgText); } @@ -54,7 +54,7 @@ void sendChunkData(char *inputFile, int nMappers) { fseek(file, (i - 1023), SEEK_CUR); message.msgType = (map++ % nMappers) + 1; - printf("%s\n\n",message.msgText); + // printf("%s\n\n",message.msgText); msgsnd(msgid, &message, map, 0); } @@ -84,7 +84,7 @@ int getInterData(char *Qkey, int reducerID) { int id = openQueue("reduce"); msgrcv(id, &message, chunkSize, reducerID, 0); *Qkey = *message.msgText; - // printf("%s\n", Qkey); + printf("%s\n", Qkey); return strncmp("END", message.msgText, 3) == 0; } |