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

@@ -310,8 +310,14 @@ epicsShareFunc void fdManager::installReg (fdReg &reg)
this->maxFD = tsMax(this->maxFD, reg.getFD()+1);
this->regList.add (reg);
reg.state = fdReg::pending;
if (this->fdTbl.add (reg)!=0) {
throw fdInterestSubscriptionAlreadyExits();
int status = this->fdTbl.add (reg);
if (status!=0) {
# ifdef noExceptionsFromCXX
assert (0);
# else
throw fdInterestSubscriptionAlreadyExits ();
# endif
}
}