SICS-294 anstohttp.c
Histmem mow only calls TaskYield after SICS has finished initalising, this stops the statusfile task from being called early and overwriting the status file. r2765 | ffr | 2009-03-03 11:42:26 +1100 (Tue, 03 Mar 2009) | 5 lines
This commit is contained in:
committed by
Douglas Clowes
parent
b134c901c5
commit
eec824f98a
@@ -518,7 +518,8 @@ static int AnstoHttpStatusWithRetries(pHistDriver self, int requiredstate,SConne
|
||||
{
|
||||
// Service other SICS tasks while we wait.
|
||||
pTaskMan pTasker = GetTasker();
|
||||
if (pTasker)
|
||||
/* Don't run the taskloop during initialisation */
|
||||
if (pTasker && (pServ->dummyCon != NULL))
|
||||
TaskYield(pTasker);
|
||||
} while(get_localtime_us()<(start_time_us+STATUS_READ_DELAY_USEC));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user