Changeset 2755 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
May 23, 2005, 6:33:02 PM (20 years ago)
Author:
ansari
Message:

1/ Correction bug trace des lignes ds PINTuple
2/ Ajout methode IsThreadable() (declaration conformite thread separe pour certaines commandes) ds baseexecut.h .cc (plot2d plot3d ...) , ds pawexecut.cc (n/plot ...) et ds cxxexecutor.h .cc (c++exec c++execfrf ...)
3/ Ajout de ZMutex (et ZSync) pour la gestion des commandes threadable - ds les
executeurs et ds servnobjm.h .cc
4/ bug d'execution en thread identifie et corrige ds nobjmgr.h .cc (ajout des
methodes GetObj_P() GetObjAdapter_P() et ReadObj_P()
5/ Ajout de l'appel a ZSync::NOp() pour eviter les warnings 'unused variable zs ...'

Reza 23 Mai 2005

File:
1 edited

Legend:

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

    r2677 r2755  
    366366  Commander::SetCurrentPrompt(pr);
    367367  if (mImgApp) {
    368     ZSync(mImgApp->getMutex());
     368    ZSync zs(mImgApp->getMutex()); zs.NOp();
    369369    mImgApp->GetConsole()->SetPrompt(pr);
    370370  }
     
    378378  char va = (att == 0) ? 0 : PIVA_Magenta;
    379379  if (mImgApp) {
    380     ZSync(mImgApp->getMutex());
     380    ZSync(mImgApp->getMutex()); zs.NOp();
    381381    mImgApp->GetConsole()->AddStr(msg, va);
    382382  }
Note: See TracChangeset for help on using the changeset viewer.