Changeset 3217 in Sophya
- Timestamp:
- Apr 12, 2007, 3:52:20 PM (18 years ago)
- Location:
- trunk/SophyaLib/SysTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SysTools/zthread.cc
r3209 r3217 231 231 CheckSt(rc,"ZMutex::~ZMutex() Pb pthread_mutex_destroy"); 232 232 rc = pthread_cond_destroy(_condv); 233 CheckSt(rc,"ZMutex::~ZMutex() Pb pthread_cond_destr y");233 CheckSt(rc,"ZMutex::~ZMutex() Pb pthread_cond_destroy"); 234 234 delete _mutx; 235 235 delete _condv; -
trunk/SophyaLib/SysTools/zthread.h
r2955 r3217 109 109 { pthread_cond_broadcast(_condv); } 110 110 111 protected: 112 ZMutex(ZMutex const & a) 113 { throw ForbiddenError("ZMutex::ZMutex(ZMutex const & ) forbidden"); } 114 ZMutex& operator = (ZMutex const & a) 115 { throw ForbiddenError("ZMutex:: operator = (ZMutex const & a) forbidden"); } 116 111 117 // Attributes 112 pthread_mutex_t * _mutx;113 pthread_cond_t * _condv;118 pthread_mutex_t * _mutx; 119 pthread_cond_t * _condv; 114 120 }; 115 121
Note:
See TracChangeset
for help on using the changeset viewer.