From 0cf11bce7acac9640a143e6ff0db4b4419d669de Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 6 Oct 2020 08:19:19 -0500 Subject: Get rid of ancient comments --- P1/src/mapreduce.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'P1') diff --git a/P1/src/mapreduce.c b/P1/src/mapreduce.c index 4da8c65..36e9045 100644 --- a/P1/src/mapreduce.c +++ b/P1/src/mapreduce.c @@ -34,7 +34,6 @@ int main(int argc, char *argv[]) { for (int i = 1; i <= nMappers; i++) { mapperPid = fork(); if (mapperPid == 0) { - //TODO: exec here char numMap[10]; sprintf(numMap, "%d", i); execl("./mapper", "./mapper", &numMap, NULL); @@ -47,7 +46,6 @@ int main(int argc, char *argv[]) { } for (int i = 0; i <= nMappers; i++) { - //Hopefully this works int waitError = wait(NULL); if (waitError == -1) { @@ -83,7 +81,6 @@ int main(int argc, char *argv[]) { } for (int i = 0; i <= nReducers; i++) { - //Maybe this works too? int waitError = wait(NULL); if (waitError == -1) { printf("Wait failed!\n"); -- cgit v1.2.3