33 std::lock_guard<std::mutex> lock(m_mutex);
34 std::call_once(m_once, [&]() { m_val = val; });
42 std::lock_guard<std::mutex> lock(m_mutex);
49 std::once_flag m_once;
a globally accessible parameter
T const operator()()
get the value of the parameter
GlobalParam< T > & operator=(T const &val)
assign a new value to this parameter
A named object with a Logger instance.
General, top-level namespace for algorithms and infrastructure. For algorithms and bindings,...
GlobalParam< std::string > GlobalRcdbUrl
Path to the RCDB.
GlobalParam< std::string > GlobalConcurrencyModel
The concurrency model, for running certain algorithms in a thread-safe way.