Reflect routine name change from threadSuspend() to threadSuspendSelf().

This commit is contained in:
W. Eric Norum
2000-02-26 23:45:24 +00:00
parent 46dff5ec2b
commit 2ed0736bd0
7 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ static void callbackTask(int *ppriority)
if(nget==0) break;
if(nget!=sizeof(pcallback)) {
errMessage(0,"ringGet failed in callbackTask");
threadSuspend();
threadSuspendSelf();
}
ringOverflow[priority] = FALSE;
(*pcallback->callback)(pcallback);
+4 -1
View File
@@ -14,6 +14,9 @@ of this distribution.
/* Modification Log:
* -----------------
* $Log$
* Revision 1.17 2000/02/25 22:26:38 mrk
* more changes for creating dlls
*
* Revision 1.16 2000/02/25 22:01:24 mrk
* changes for creating DLLs
*
@@ -827,7 +830,7 @@ int epicsShareAPI dbBkpt(struct dbCommon *precord)
*/
semMutexGive(bkpt_stack_sem);
dbScanUnlock(precord);
threadSuspend();
threadSuspendSelf();
dbScanLock(precord);
semMutexMustTake(bkpt_stack_sem);
}
+1 -1
View File
@@ -195,7 +195,7 @@ void epicsShareAPI dbScanLock(dbCommon *precord)
if(!(plockRecord= precord->lset)) {
epicsPrintf("dbScanLock plockRecord is NULL record %s\n",
precord->name);
threadSuspend();
threadSuspendSelf();
}
while(TRUE) {
while(changingLockSets) threadSleep(.05);