Changeset 2943 in Sophya for trunk/SophyaLib/SysTools/commander.h


Ignore:
Timestamp:
Apr 26, 2006, 5:22:09 PM (19 years ago)
Author:
ansari
Message:

ajout methode ZThread::kill() pour envoi de signal a un thread + remplacement CancelThread par StopThread (par kill/SIGUSR1) dans Commander (commander.cc) + amelioration documentation , Reza 26/4/2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/commander.h

    r2804 r2943  
    5555  //! command execution method for a command defined by keyword and its arguments.
    5656  virtual int   Execute(string& keyw, vector<string>& args, string& toks)=0;
    57   //! Return true if the command \b keyw is thread compatible
     57  //! Return true if the command \b keyw is thread compatible (can be executed in a separate thread)
    5858  virtual bool  IsThreadable(string const & keyw) { return false; }
    5959};
     
    105105  virtual void          HelptoLaTeX(string const & flnm);
    106106
     107  //! return the current selected interpreter (default : this)
    107108  inline  CmdInterpreter* CurrentInterpreter() { return(curcmdi); }
    108109
     
    170171  //   Gestion des threads d'execution de commandes
    171172  void          ListThreads();
    172   void          CancelThr(uint_8 thrid);
     173  void          StopThr(uint_8 thrid);
    173174  void          CleanThrList();
    174175  void          WaitThreads();
Note: See TracChangeset for help on using the changeset viewer.