aboutsummaryrefslogtreecommitdiffstats
path: root/P2/src/mapreduce.c
diff options
context:
space:
mode:
authorMatthew Strapp <strap012@umn.edu>2020-10-28 18:10:23 -0500
committerGitHub Enterprise <noreply-github@umn.edu>2020-10-28 18:10:23 -0500
commitaa59190c9e0fc28cd8413784413fd143754e3acc (patch)
tree1f8f4754c8ec161342cefe18350f2f017772a0c3 /P2/src/mapreduce.c
parentProject now runs and does not hang forever (diff)
parent? (diff)
downloadcsci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar.gz
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar.bz2
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar.lz
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar.xz
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.tar.zst
csci4061-aa59190c9e0fc28cd8413784413fd143754e3acc.zip
Merge pull request #13 from STRAP012/FixAlltheProblems
Fix all the problems
Diffstat (limited to '')
-rw-r--r--P2/src/mapreduce.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/P2/src/mapreduce.c b/P2/src/mapreduce.c
index 962a9ca..290c1c5 100644
--- a/P2/src/mapreduce.c
+++ b/P2/src/mapreduce.c
@@ -77,5 +77,6 @@ int main(int argc, char *argv[]) {
// wait for all children to complete execution
while (wait(&status) > 0);
+ closeQueue();
return 0;
} \ No newline at end of file