eliminated dead lock vulnerability
This commit is contained in:
1 parent
008c9afa18
commit
36b061fa2f
1 file changed
+4
-2
+4
-2
@@ -984,8 +984,10 @@ bool udpiiu::searchMsg ( unsigned short retrySeqNumber, unsigned & retryNoForThi
|
||||
|
||||
void udpiiu::installChannel ( nciu & chan )
|
||||
{
|
||||
epicsGuard < udpMutex> guard ( this->mutex );
|
||||
this->channelList.add ( chan );
|
||||
{
|
||||
epicsGuard < udpMutex> guard ( this->mutex );
|
||||
this->channelList.add ( chan );
|
||||
}
|
||||
this->resetSearchPeriod ( 0.0 );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user