fixed exception condition logic
This commit is contained in:
1 parent
a42190fe9b
commit
9b77ed8956
1 file changed
+4
-4
@@ -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