Public Thread Safety notice:

<add a cheesy cooment here>
This commit is contained in:
Siana Gearz
2011-05-15 14:24:15 +02:00
parent 32594cd651
commit bd153fc68f
2 changed files with 9 additions and 1 deletions

View File

@@ -278,7 +278,11 @@ struct AIReadAccessConst
protected:
//! Constructor used by AIReadAccess.
AIReadAccessConst(AIThreadSafe<T>& wrapper, state_type state)
: mWrapper(wrapper), mState(state) { }
: mWrapper(wrapper), mState(state)
#if AI_NEED_ACCESS_CC
, mIsCopyConstructed(false)
#endif
{ }
AIThreadSafe<T>& mWrapper; //!< Reference to the object that we provide access to.
state_type const mState; //!< The lock state that mWrapper is in.

View File

@@ -179,6 +179,10 @@ public:
protected:
AIAPRPool mPool;
private:
// Disable copy construction, as si teh bomb!!! -SG
LLMutex(const LLMutex&);
LLMutex& operator=(const LLMutex&);
};
#if APR_HAS_THREADS