Changeset 2598 in Sophya for trunk/SophyaLib/SysTools/zthread.h


Ignore:
Timestamp:
Aug 11, 2004, 3:10:25 PM (21 years ago)
Author:
ansari
Message:

Documentation (ajoutee ou completee) pour les classes du module SysTools - Reza 11 Aout 2004

File:
1 edited

Legend:

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

    r2496 r2598  
    1616
    1717/*!
    18   \class SOPHYA::ZThreadExc
     18  \class ZThreadExc
    1919  \ingroup SysTools
    20   This exception class is used by the classes implementing the interface
    21   to the POSIX threads (\b ZThread ...)
     20  \brief Exception class used by ZThread and ZMutex classes.
    2221*/ 
    2322class ZThreadExc : public PException {
     
    9392class ZSync {
    9493public:
     94/*!
     95  Constructor. Locks the associated ZMutex.
     96 
     97  - <tt> sigbr==1 </tt> destructor calls \c signal on
     98  the associated ZMutex
     99  - <tt> sigbr==2 </tt> destructor calls \c broadcast on
     100  the associated ZMutex
     101*/
    95102  explicit inline  ZSync(ZMutex & mtx, int sigbr=0)
    96103  {_mtx = &mtx; _sigbr = sigbr; mtx.lock(); }
Note: See TracChangeset for help on using the changeset viewer.