Changeset 2598 in Sophya for trunk/SophyaLib/SysTools/zthread.h
- Timestamp:
- Aug 11, 2004, 3:10:25 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/zthread.h
r2496 r2598 16 16 17 17 /*! 18 \class SOPHYA::ZThreadExc18 \class ZThreadExc 19 19 \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. 22 21 */ 23 22 class ZThreadExc : public PException { … … 93 92 class ZSync { 94 93 public: 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 */ 95 102 explicit inline ZSync(ZMutex & mtx, int sigbr=0) 96 103 {_mtx = &mtx; _sigbr = sigbr; mtx.lock(); }
Note:
See TracChangeset
for help on using the changeset viewer.