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


Ignore:
Timestamp:
Dec 26, 2003, 12:17:41 PM (22 years ago)
Author:
ansari
Message:

Debut d'implementation piapp multi-thread - (avec des pb lors de l'execution de demo.pic) Reza 26 Dec 2003

File:
1 edited

Legend:

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

    r2265 r2486  
    3434#include "pitherm.h"
    3535
     36#include "zthread.h"
    3637#include "resusage.h"
    3738
     
    5354     virtual void   SetBlocked();
    5455
     56  // <ZThread>  Multithread execution
     57  // On redefinit la methode Run pour gestion multithread
     58     virtual void   Run();
     59     inline ZMutex &   getMutex() { return thr_glsyn; }
     60
     61  // Methodes d'Affichage generique
    5562     int  DispImage(P2DArrayAdapter* nouv, string const & name, string const & opt, int oid=0);
    5663     int  DispScDrawer(PIDrawer* scd, string const & name, string const & opt,
     
    171178    PIPixmap* gimv;
    172179    PICMapView* cmapv;
    173   // Pour afficher des stats
     180  // Pour afficher des stats et etat thread command
    174181    PILabel* lab_mem;
    175182    PIThermometer* therm_mem;
    176183    PILabel* lab_cpu;
    177184    PIThermometer* therm_cpu;
     185    PILabel* lab_thrcmd;
    178186
    179187    PIFileChooser * pfc_fits;   // Pour les fichiers FITS
     
    224232    string exc_command;
    225233    bool fg_exc_cmd;
     234  // Attributs pour controle de thread
     235    ZMutex thr_glsyn;
    226236};
    227237
Note: See TracChangeset for help on using the changeset viewer.