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


Ignore:
Timestamp:
Apr 12, 2007, 3:52:20 PM (18 years ago)
Author:
ansari
Message:

petites corrections ds zthread.cc , Reza 12/04/2007

File:
1 edited

Legend:

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

    r2955 r3217  
    109109  { pthread_cond_broadcast(_condv); }
    110110
     111protected:
     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
    111117  // Attributes
    112   pthread_mutex_t * _mutx;
    113   pthread_cond_t * _condv;
     118  pthread_mutex_t *  _mutx;
     119  pthread_cond_t *  _condv;
    114120};
    115121
Note: See TracChangeset for help on using the changeset viewer.