Changeset 2615 for trunk/MagicSoft/Cosy/candrv/nodedrv.cc
- Timestamp:
- 12/07/03 14:48:11 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/candrv/nodedrv.cc
r2518 r2615 50 50 #include <TTimer.h> 51 51 52 #include " base/timer.h"52 #include "MTime.h" 53 53 #include "network.h" 54 54 #include "MLogManip.h" … … 489 489 class NodeGuard : public MThread 490 490 { 491 Double_t fTimeoutTime; 492 Double_t fGuardTime; 491 Double_t fTimeoutTime; //[s] 492 Double_t fGuardTime; //[s] 493 493 Int_t fLifeTimeFactor; 494 494 … … 503 503 void Reset(timeval_t *tv=NULL) 504 504 { 505 Timert;505 MTime t; 506 506 if (tv) 507 t.Set Timer(tv);507 t.Set(*tv); 508 508 else 509 509 t.Now(); … … 525 525 fDrv->SendNodeguard(); 526 526 527 Timert;527 MTime t; 528 528 t.Now(); 529 529 530 const Timert0 = t+fGuardTime;530 const Double_t t0 = t+fGuardTime; 531 531 532 532 while (!HasStopFlag() && t<t0 && t<fTimeoutTime)
Note:
See TracChangeset
for help on using the changeset viewer.