aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-10-24 12:26:14 -0500
committerMatt Strapp <strap012@umn.edu>2020-10-24 12:26:14 -0500
commit48853f86663bef3a85a0696be7275e775976d7f7 (patch)
tree64f0cef1ffda90dd5950b36df3aa9eda4e3cd6d3 /P2/lib
parentGet rid of stuff from other branch (diff)
downloadcsci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar.gz
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar.bz2
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar.lz
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar.xz
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.tar.zst
csci4061-48853f86663bef3a85a0696be7275e775976d7f7.zip
Start new branch
Diffstat (limited to 'P2/lib')
-rw-r--r--P2/lib/utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index 79b309e..f164ee4 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -1,6 +1,10 @@
#include "utils.h"
char *getChunkData(int mapperID) {
+ int mid;
+ key_t key = 10;
+ mid = msgget();
+
}
// sends chunks of size 1024 to the mappers in RR fashion