Skip to content
Snippets Groups Projects

eddie-communication: implement communication layer APIs for higher layers

Merged Jacopo Zorzetto requested to merge jacopo/eddie:high_apis into main
All threads resolved!
Files
8
@@ -69,6 +69,14 @@ class ThreadSafeStorage {
public:
std::mutex m_;
std::list<Key> get_valid_keys() {
std::unique_lock<decltype(m_)> lock(m_);
std::list<Key> return_container;
for (auto key: s_) return_container.push_back(key);
return return_container;
}
/**
* Add a new key to the set of valid keys
* @param k the key to add
Loading