Changeset 2815 in Sophya for trunk/SophyaPI/PIext/piafitting.h


Ignore:
Timestamp:
Jul 8, 2005, 5:26:49 PM (20 years ago)
Author:
ansari
Message:

Suite correction PIAFitter en multithread - ajout mutex d'execution pour PIAFitter , cmv+Reza 8 Juillet 2005

File:
1 edited

Legend:

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

    r1268 r2815  
    1616#include "dlftypes.h"
    1717#include "piacmd.h"
     18#include "zthread.h"
    1819
    1920class PIStdImgApp;
     
    4243                                  ,int nvar,int npar);
    4344
     45  inline void  SetFgEvtLoopFlag(bool fg=false) { fg_evtloop = fg; }
     46  inline ZMutex &   getMutex() { return singlefit_mutex; }
     47
    4448friend class PIAFitterWind;
    4549
    4650protected :
     51bool fg_evtloop;   // true : appel depuis Boucle d'evts, PIAFitterWind
     52// Attributs pour controle de thread
     53ZMutex singlefit_mutex;  // Pour empecher l'execution simultanee de deux fits
    4754
    4855typedef struct DFOptions {
Note: See TracChangeset for help on using the changeset viewer.