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:
Jeff Hill
2002-05-28 23:54:46 +00:00
parent 5cc37d2a08
commit 4cb33019c9

View File

@@ -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