Changeset 2762 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.cc


Ignore:
Timestamp:
May 24, 2005, 6:31:58 PM (20 years ago)
Author:
ansari
Message:

Suite corrections ZSync + correction (probable) du probleme de plantage a la fin lie a imagnav - reste a corriger menu::del_cur_widget - Reza 24/05/2005

File:
1 edited

Legend:

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

    r2755 r2762  
    156156  }
    157157  // Pour synchronisation d'execution simultanee
    158   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     158  ZSync zs(mutx_cxxe);  zs.NOp();
    159159
    160160  rc = ExecuteCXX(toks); if(rc) return(1);
     
    166166  }
    167167  // Pour synchronisation d'execution simultanee
    168   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     168  ZSync zs(mutx_cxxe);  zs.NOp();
    169169
    170170  rc = FillUserCode(tokens[0]); if(rc) return(1);
     
    188188  }
    189189  // Pour synchronisation d'execution simultanee
    190   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     190  ZSync zs(mutx_cxxe);  zs.NOp();
    191191
    192192  rc = FillUserCode(toks,2);        if(rc) return(1);
     
    200200  }
    201201  // Pour synchronisation d'execution simultanee
    202   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     202  ZSync zs(mutx_cxxe);  zs.NOp();
    203203
    204204  rc = FillUserCode(tokens[2]); if(rc) return(1);
     
    210210} else if(kw == "c++compile") {
    211211  // Pour synchronisation d'execution simultanee
    212   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     212  ZSync zs(mutx_cxxe);  zs.NOp();
    213213
    214214  if(tokens.size()>=1) rc = Compile(tokens[0]);
     
    218218} else if(kw == "c++link") {
    219219  // Pour synchronisation d'execution simultanee
    220   ZSync zs(mutx_cxxe, 2);  zs.NOp(); // 2 -> broadcast lors de la destruction
     220  ZSync zs(mutx_cxxe);  zs.NOp();
    221221
    222222  if(tokens.size()>=2)      rc = Link(tokens[0],tokens[1]);
Note: See TracChangeset for help on using the changeset viewer.