Changeset 2494 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.h


Ignore:
Timestamp:
Jan 6, 2004, 7:44:56 PM (22 years ago)
Author:
ansari
Message:

Suite debugging gestion lock entre threads ds piapp - A l'air de

marcher sur OSF1 et Linux ... Reza 06/01/2004

File:
1 edited

Legend:

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

    r2492 r2494  
    6060     inline void       LockMutex() { thr_glsyn.lock(); }
    6161     inline void       UnlockMutex(bool fgbr=false)
    62         { thr_glsyn.broadcast(); thr_glsyn.unlock(); }
     62        { if (fgbr) thr_glsyn.broadcast(); thr_glsyn.unlock(); }
    6363     inline bool       isGlSyncLocked() { return fg_glsynlock; }
     64     int               CheckPendingEvents();
    6465
    6566  // Methodes d'Affichage generique
     
    240241    ZMutex thr_glsyn;
    241242    bool fg_glsynlock;  // true: thr_glsyn locke pour traitement evts
     243    XtAppContext * _appctx; // Pour CheckPendingEvents()  $CHECK$ A supprimer si possible ...
    242244};
    243245
Note: See TracChangeset for help on using the changeset viewer.