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:49:31 +00:00
parent 795cb4c46d
commit d5c5baad83
2 changed files with 11 additions and 2 deletions
+8 -1
View File
@@ -49,11 +49,18 @@ occur when recGblGetTimeStamp is called.</p>
<p><strong>calcoutRecord</strong></p>
<p>nsev not sevr must be checked to decide if dbPutLink should be called.</p>
<p>This is now fixed</p>
<p><strong>calcPerform</strong></p>
<p>This now returns a non zero value if the result is nan (not a number).</p>:wq
<p>This now returns a non zero value if the result is nan (not a number).</p>
<p><strong>CA server (rsrv)</strong></p>
<p>Fixed race condition occuring when a put notify is canceled by a ca clear
channel at the same instant that it completes. This problem was introduced in
R3.13.5.</p>
<h3>Changes since 3.13.5</h3>
+3 -1
View File
@@ -1355,7 +1355,9 @@ void write_notify_reply(void *pArg)
*/
FASTLOCK(&pClient->putNotifyLock);
ppnb = (RSRVPUTNOTIFY *)ellGet(&pClient->putNotifyQue);
ppnb->onExtraLaborQueue = FALSE;
if ( ppnb ) {
ppnb->onExtraLaborQueue = FALSE;
}
FASTUNLOCK(&pClient->putNotifyLock);
/*
* break to loop exit