separate ChannelProviderRegistry for client/server

This commit is contained in:
Michael Davidsaver
2017-06-21 14:41:24 +02:00
parent 2e7d28b87d
commit 35d2c610bf
14 changed files with 161 additions and 112 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ static
void pva_factory_cleanup(void*)
{
try {
getChannelProviderRegistry()->remove("pva");
ChannelProviderRegistry::clients()->remove("pva");
} catch(std::exception& e) {
LOG(logLevelWarn, "Error when unregister \"pva\" factory");
}
@@ -33,7 +33,7 @@ void ClientFactory::start()
epicsSignalInstallSigAlarmIgnore();
epicsSignalInstallSigPipeIgnore();
if(getChannelProviderRegistry()->add("pva", createClientProvider, false))
if(ChannelProviderRegistry::clients()->add("pva", createClientProvider, false))
epicsAtExit(&pva_factory_cleanup, NULL);
}