working need to put in shape of pi

This commit is contained in:
Brady Bodily
2018-04-11 22:53:01 +00:00
parent d089172e5e
commit 88e5128704
24 changed files with 462 additions and 97 deletions

11
Map.cpp Normal file
View File

@@ -0,0 +1,11 @@
#include "Map.hpp"
void Map::safeInsert(int key, unsigned int value){
std::lock_guard<std::mutex> lock(qMutex);
uMap.insert({key, value});
}
unsigned int Map::find(int key){
return uMap[key];
}