MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / GetUID

Method GetUID

src/base/AFUidGenerator.hpp:207–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205{
206public:
207 int64_t GetUID(const int64_t worker_id) override
208 {
209 std::lock_guard<std::mutex> lock(mutex_);
210 return NextID(worker_id);
211 }
212
213private:
214 mutable std::mutex mutex_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected