| 113 | } |
| 114 | |
| 115 | ConstConfigRcPtr GetCurrentConfig() |
| 116 | { |
| 117 | AutoMutex lock(g_currentConfigLock); |
| 118 | |
| 119 | if(!g_currentConfig) |
| 120 | { |
| 121 | g_currentConfig = Config::CreateFromEnv(); |
| 122 | } |
| 123 | |
| 124 | return g_currentConfig; |
| 125 | } |
| 126 | |
| 127 | void SetCurrentConfig(const ConstConfigRcPtr & config) |
| 128 | { |
no outgoing calls
no test coverage detected