Public Thread Safety notice:
<add a cheesy cooment here>
This commit is contained in:
@@ -278,7 +278,11 @@ struct AIReadAccessConst
|
|||||||
protected:
|
protected:
|
||||||
//! Constructor used by AIReadAccess.
|
//! Constructor used by AIReadAccess.
|
||||||
AIReadAccessConst(AIThreadSafe<T>& wrapper, state_type state)
|
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.
|
AIThreadSafe<T>& mWrapper; //!< Reference to the object that we provide access to.
|
||||||
state_type const mState; //!< The lock state that mWrapper is in.
|
state_type const mState; //!< The lock state that mWrapper is in.
|
||||||
|
|||||||
@@ -179,6 +179,10 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
AIAPRPool mPool;
|
AIAPRPool mPool;
|
||||||
|
private:
|
||||||
|
// Disable copy construction, as si teh bomb!!! -SG
|
||||||
|
LLMutex(const LLMutex&);
|
||||||
|
LLMutex& operator=(const LLMutex&);
|
||||||
};
|
};
|
||||||
|
|
||||||
#if APR_HAS_THREADS
|
#if APR_HAS_THREADS
|
||||||
|
|||||||
Reference in New Issue
Block a user