Skip to content
Snippets Groups Projects
Commit 9f9b3902 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Merge branch 'master' into names

parents b71b0db8 c56cff5e
No related branches found
No related tags found
No related merge requests found
......@@ -13,9 +13,7 @@ namespace armarx::armem::vision::occupancy_grid::client
const std::string& providerName,
const std::int64_t& timestamp)
{
static std::mutex mutex;
std::lock_guard g{mutex};
std::lock_guard g{writeMutex};
const auto result = memoryWriter().addSegment(properties().coreSegmentName, providerName);
......
......@@ -55,8 +55,10 @@ namespace armarx::armem::vision::occupancy_grid::client
protected:
std::string propertyPrefix() const override;
Properties defaultProperties() const override;
};
private:
std::mutex writeMutex;
};
} // namespace armarx::armem::vision::occupancy_grid::client
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment