Changeset 2948 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Apr 26, 2006, 6:49:09 PM (19 years ago)
Author:
ansari
Message:

retour en arriere - suppression bloc gestion d'exception dans Reveil::run() - Reza 26/4/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pistdimgapp.cc

    r2947 r2948  
    416416  {
    417417    while (!_fgstop) {
    418       try {
    419         usleep(2000);
    420         _app->LockMutex();
    421         bool fgb = false;
    422         if (_app->CheckPendingEvents() != 0)  fgb = true;
    423         _app->UnlockMutex(fgb);
    424       }
    425       catch ( PThrowable & exc ) {
    426         cout << "Reveil::run() Exception catched Msg= " <<  exc.Msg() << endl;
    427       }
    428      
     418      usleep(2000);
     419      _app->LockMutex();
     420      bool fgb = false;
     421      if (_app->CheckPendingEvents() != 0)  fgb = true;
     422      _app->UnlockMutex(fgb);     
    429423    }
    430424  }
Note: See TracChangeset for help on using the changeset viewer.