o created tsStamp.h

o include tsStamp.h into tsDefs.h
o use assert() instead of C++ exceptions on certain os
This commit is contained in:
Jeff Hill
1999-12-22 23:12:51 +00:00
parent 7a6bc4e1df
commit fa2a1395a0
6 changed files with 308 additions and 121 deletions

View File

@@ -39,6 +39,7 @@
#include <assert.h>
#include <stdio.h>
#include <float.h>
#define epicsExportSharedSymbols
#include "osiTimer.h"
@@ -204,7 +205,12 @@ epicsShareFunc void osiTimer::destroy()
//
epicsShareFunc double osiTimer::delay() const
{
throw noDelaySpecified();
# ifdef noExceptionsFromCXX
assert (0);
# else
throw noDelaySpecified ();
# endif
return DBL_MAX;
}
epicsShareFunc void osiTimer::show (unsigned level) const