aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-10-27 14:04:09 -0500
committerMatt Strapp <strap012@umn.edu>2020-10-27 14:04:09 -0500
commite3ed4558ff82266519a32900b237c51d8dd351f1 (patch)
tree28adc227c1c7af7d0afa039be5f546f19b622ff5 /P2
parentRewrite queue opening (diff)
downloadcsci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar.gz
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar.bz2
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar.lz
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar.xz
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.tar.zst
csci4061-e3ed4558ff82266519a32900b237c51d8dd351f1.zip
Replace old calls
Diffstat (limited to '')
-rw-r--r--P2/lib/utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index c31e7fc..6fa454e 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -68,13 +68,12 @@ int hashFunction(char* Qkey, int reducers){
int getInterData(char *Qkey, int reducerID) {
//make sure it work.
- key_t Qkey = ftok("4061 Project 2 SS", 'S');
-
+ int id = openQueue();
}
void shuffle(int nMappers, int nReducers) {
//Once again, MAKE SURE THIS WORKS PROPERLY!
- key_t Qkey = ftok("4061 Project 2 SS", 'S');
+ int id = openQueue();
}