This commit is contained in:
Michael Davidsaver
2020-01-24 14:00:31 -08:00
parent b8b91f23f8
commit 9ffb8dab9a
3 changed files with 3 additions and 4 deletions
-1
View File
@@ -134,7 +134,6 @@ Server& Server::addSource(const std::string& name,
throw std::logic_error(SB()<<"Attempt to add NULL Source "<<name<<" at "<<order);
{
auto G(pvt->sourcesLock.lockWriter());
//epicsGuard<RWLock::Writer> G(pvt->sourcesLock.writer());
auto& ent = pvt->sources[std::make_pair(order, name)];
if(ent)
+1 -1
View File
@@ -426,7 +426,7 @@ void ServerConn::bevRead()
CASE(MESSAGE);
#undef CASE
}
// handlers may be cleared bev to force disconnect
// handlers may have cleared bev to force disconnect
if(!bev)
break;
+2 -2
View File
@@ -200,12 +200,12 @@ struct Server::Pvt
epicsEvent done;
std::vector<uint8_t> beaconMsg;
// handle server "background" tasks.
// accept new connections and send beacons
evbase acceptor_loop;
std::vector<uint8_t> beaconMsg;
std::list<std::unique_ptr<UDPListener> > listeners;
std::vector<SockAddr> beaconDest;