call taskSuspend instead of exit

This commit is contained in:
Marty Kraimer
1998-11-09 17:06:34 +00:00
parent 7bf6530254
commit 2ce2fc4c86

View File

@@ -215,7 +215,7 @@ void dbScanLock(dbCommon *precord)
if(!(plockRecord= (lockRecord *)precord->lset)) {
epicsPrintf("dbScanLock plockRecord is NULL record %s\n",
precord->name);
exit(1);
taskSuspend(0);
}
while(TRUE) {
if(changingLockSets) {