aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib
diff options
context:
space:
mode:
Diffstat (limited to 'P2/lib')
-rw-r--r--P2/lib/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index 1a33cd2..1a291bd 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -17,7 +17,6 @@ char *getChunkData(int mapperID) {
// struct msgBuffer ACK = {mapperID, "ACK"};
// msgsnd(mid, &ACK, MSGSIZE, 0);
// }
- // msgctl(mid, IPC_RMID, 0);
return message.msgText;
}
@@ -55,7 +54,6 @@ void sendChunkData(char *inputFile, int nMappers) {
msgrcv(msgid, &message, MSGSIZE, i, 0);
}
- // msgctl(msgid, IPC_RMID, 0); // close that bih
}
// hash function to divide the list of word.txt files across reducers