fixed race condition occuring when a put notify is canceled by a ca clear channel
at the same instant that it completes
This commit is contained in:
@@ -1413,7 +1413,9 @@ void write_notify_reply(void *pArg)
|
||||
*/
|
||||
epicsMutexMustLock(pClient->putNotifyLock);
|
||||
ppnb = (RSRVPUTNOTIFY *)ellGet(&pClient->putNotifyQue);
|
||||
ppnb->onExtraLaborQueue = FALSE;
|
||||
if ( ppnb ) {
|
||||
ppnb->onExtraLaborQueue = FALSE;
|
||||
}
|
||||
epicsMutexUnlock(pClient->putNotifyLock);
|
||||
/*
|
||||
* break to loop exit
|
||||
|
||||
Reference in New Issue
Block a user