MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / getConfigByVal

Method getConfigByVal

include/thundersvm/util/log.h:2007–2010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2005
2006 template <typename Conf_T>
2007 inline Conf_T getConfigByVal(Level level, const std::map<Level, Conf_T>* confMap, const char* confName) {
2008 base::threading::ScopedLock scopedLock(lock());
2009 return unsafeGetConfigByVal(level, confMap, confName); // This is not unsafe anymore - mutex locked in scope
2010 }
2011
2012 template <typename Conf_T>
2013 inline Conf_T& getConfigByRef(Level level, std::map<Level, Conf_T>* confMap, const char* confName) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected