diff options
author | Matt Strapp <strap012@umn.edu> | 2020-11-03 20:16:10 -0600 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-11-03 20:16:10 -0600 |
commit | deee5dba017f63306ec653211eb7b95ce68fb34b (patch) | |
tree | 4e3f81971d63474e1a41016da4fccd955188eedd /P2/lib | |
parent | Comment genocide (diff) | |
download | csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar.gz csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar.bz2 csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar.lz csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar.xz csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.tar.zst csci4061-deee5dba017f63306ec653211eb7b95ce68fb34b.zip |
Comment genocide
Also error checks
Diffstat (limited to '')
-rw-r--r-- | P2/lib/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c index c0b2c67..b8922d4 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -21,7 +21,6 @@ char *getChunkData(int mapperID) { struct msgBuffer message = makeMessage(); //Queue ID int mid = openQueue(); - //printf("MAPPER ID:%d\n", mapperID); msgrcv(mid, &message, MSGSIZE, mapperID, 0); if (strncmp("END", message.msgText, 3) == 0) return NULL; @@ -37,7 +36,6 @@ void sendChunkData(char *inputFile, int nMappers) { int msgid = openQueue(); closeQueue(msgid); msgid = openQueue(); - // DEBUG! Remove if already exists when opening queue for the first time int map = 0; FILE* file = fopen(inputFile, "r"); // construct chunks of 1024 bytes |