fixed exception condition logic
This commit is contained in:
@@ -140,16 +140,16 @@ static void osdTimeInit ()
|
||||
parm.HighPart = epicsEpochFT.dwHighDateTime;
|
||||
epicsEpoch = parm.QuadPart;
|
||||
|
||||
osdTimeMutex = mutex;
|
||||
ReleaseMutex (mutex);
|
||||
|
||||
unixStyleStatus = osdTimeSych ();
|
||||
if (unixStyleStatus!=tsStampOK) {
|
||||
osdTimeMutex = NULL;
|
||||
CloseHandle (mutex);
|
||||
return;
|
||||
}
|
||||
|
||||
osdTimeMutex = mutex;
|
||||
ReleaseMutex (mutex);
|
||||
assert (win32Stat);
|
||||
|
||||
//
|
||||
// spawn off a thread which periodically resynchronizes the offset
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user