- Connections write timeouts were incorrectly handled in asynnetc. Fixed.
- Implemented the desired run/drive behaviour: drive waits for what it started run starts, and success waits for everything to finish. This required changes to a lot of files. - Fixed a bug in remob which supressed required messages
This commit is contained in:
11
maximize.c
11
maximize.c
@ -80,12 +80,12 @@ static int maxDrive(void *pObject, char *pVarName,
|
||||
pDummy pDum;
|
||||
int status;
|
||||
char pBueffel[132];
|
||||
long lTask;
|
||||
|
||||
/* start */
|
||||
pDum = (pDummy) pObject;
|
||||
status = StartDevice(pServ->pExecutor,
|
||||
pVarName, pDum->pDescriptor, pObject, pCon, fPos);
|
||||
pVarName, pDum->pDescriptor, pObject, pCon,
|
||||
RUNDRIVE, fPos);
|
||||
if (!status) {
|
||||
sprintf(pBueffel, "ERROR: failed to start %s", pVarName);
|
||||
SCWrite(pCon, pBueffel, eError);
|
||||
@ -93,11 +93,8 @@ static int maxDrive(void *pObject, char *pVarName,
|
||||
}
|
||||
|
||||
/* wait */
|
||||
lTask = GetDevexecID(pServ->pExecutor);
|
||||
if (lTask > 0) {
|
||||
TaskWait(pServ->pTasker, lTask);
|
||||
} else {
|
||||
return 0;
|
||||
while(DevExecLevelRunning(pServ->pExecutor,RUNDRIVE)){
|
||||
TaskYield(pServ->pTasker);
|
||||
}
|
||||
|
||||
/* check interrupts */
|
||||
|
Reference in New Issue
Block a user