diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-29 10:28:31 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-29 10:28:31 -0500 |
commit | 29bd6b354d00d89623be64a95a51f5f0ac48b94a (patch) | |
tree | 2e4f826424c323a38356cb4dfaf1bb590001be3b /P2/src | |
parent | sendChunkData brainstorming (diff) | |
download | csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar.gz csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar.bz2 csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar.lz csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar.xz csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.tar.zst csci4061-29bd6b354d00d89623be64a95a51f5f0ac48b94a.zip |
Make two different queues
Diffstat (limited to '')
-rw-r--r-- | P2/src/mapreduce.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/P2/src/mapreduce.c b/P2/src/mapreduce.c index 290c1c5..7f5e8c4 100644 --- a/P2/src/mapreduce.c +++ b/P2/src/mapreduce.c @@ -77,6 +77,7 @@ int main(int argc, char *argv[]) { // wait for all children to complete execution while (wait(&status) > 0); - closeQueue(); + closeQueue(openQueue("map")); + closeQueue(openQueue("reduce")); return 0; }
\ No newline at end of file |