spdlog::warn("evmgr {} failed to find module with id: {}",devSn,selfId);
spdlog::warn("evmgr {} failed to find the connecting/disconnecting module with id {} in config. please check if it was terminated correctly",devSn,selfId);
return-1;
return-1;
}
}
...
@@ -294,6 +308,7 @@ protected:
...
@@ -294,6 +308,7 @@ protected:
{
{
boolbStopSig=false;
boolbStopSig=false;
intret=0;
intret=0;
while(true){
while(true){
if(checkStop()==true){
if(checkStop()==true){
bStopSig=true;
bStopSig=true;
...
@@ -303,20 +318,6 @@ protected:
...
@@ -303,20 +318,6 @@ protected:
// spdlog::error("evmgr {} exit since evdaemon is dead", devSn);
// spdlog::error("evmgr {} exit since evdaemon is dead", devSn);
// exit(1);
// exit(1);
// }
// }
thCloudMsgHandler=thread([this]{
while(true)
{
autobody=z_recv_multiple(pDealer,false);
if(body.size()==0){
spdlog::error("evslicer {} failed to receive multiple msg: {}",this->devSn,zmq_strerror(zmq_errno()));