aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}