- 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:
koennecke
2009-04-17 12:52:01 +00:00
parent 50b0a5c4a7
commit 99d2485d22
39 changed files with 422 additions and 200 deletions

View File

@ -198,7 +198,8 @@ static SConnection *CreateConnection(SicsInterp * pSics)
pRes->listening = 0;
pRes->conStart = time(NULL);
pRes->write = SCNormalWrite;
pRes->runLevel = RUNDRIVE;
/* initialise context variables */
pRes->iCmdCtr = 0;
pRes->conEventType = -1;
@ -425,6 +426,7 @@ SConnection *SCCopyConnection(SConnection * pCon)
result->conStart = pCon->conStart;
result->contextStack = -1;
result->iList = -1;
result->runLevel = pCon->runLevel;
return result;
}
@ -847,7 +849,6 @@ int SCWriteWithOutcode(SConnection * self, char *buffer, int iOut)
free(bufPtr);
return 1;
}
/*-------------------------------------------------------------------------*/
static int SCBufferWrite(SConnection * self, char *buffer, int iOut)
{