Ignore:
Timestamp:
06/10/11 13:17:04 (13 years ago)
Author:
ogrimm
Message:
DIM event service contains active boards only
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/FADctrl/FADBoard.cc

    r10969 r10980  
    470470          while (!Continue) {
    471471                struct timespec Wakeup;
    472                 Wakeup.tv_sec = time(NULL)+5;
     472                Wakeup.tv_sec = time(NULL)+MAX_WAIT_FOR_CONDITION;
    473473                Wakeup.tv_nsec = 0;
    474474                if ((Ret = pthread_cond_timedwait(&CondVar, &Mutex, &Wakeup)) != 0) {
    475                   if (Ret == ETIMEDOUT) printf("Board %s timed out (5 s) waiting for condition\n", Name);
     475                  if (Ret == ETIMEDOUT) SetStatus("Board %s timed out (%d s) waiting for condition\n", Name, MAX_WAIT_FOR_CONDITION);
    476476                  else m->Message(m->ERROR, "pthread_cond_wait() failed (%s)", strerror(Ret));
    477477                }
Note: See TracChangeset for help on using the changeset viewer.