diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-27 14:04:09 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-27 14:04:09 -0500 |
commit | e3ed4558ff82266519a32900b237c51d8dd351f1 (patch) | |
tree | 28adc227c1c7af7d0afa039be5f546f19b622ff5 /P2/lib | |
parent | Rewrite queue opening (diff) | |
download | csci4061-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 'P2/lib')
-rw-r--r-- | P2/lib/utils.c | 5 |
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(); } |