From a1d8d856935ed54dcc478d16017c9b43b97d1dec Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Sat, 24 Oct 2020 12:16:37 -0500 Subject: Get rid of stuff from other branch --- P2/lib/utils.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index dffade8..79b309e 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -5,19 +5,6 @@ char *getChunkData(int mapperID) { // sends chunks of size 1024 to the mappers in RR fashion void sendChunkData(char *inputFile, int nMappers) { - msgBuffer message; - key_t key; - int msgid; - - // open message queue - msgid = msgget(key, 0666 | IPC_CREAT); - message -> msgText = 1; - FILE *fptr = fopen(inputFile, "r"); - - // construct chunks of 1024 bytes - while(fgets(message, chunkSize, fptr) != EOF) { - - } } // hash function to divide the list of word.txt files across reducers -- cgit v1.2.3