__gnu_cxx::_Refcount_Base Struct Reference

Inheritance diagram for __gnu_cxx::_Refcount_Base:

__gnu_cxx::_Rope_RopeRep< _CharT, _Alloc > __gnu_cxx::_Rope_RopeConcatenation< _CharT, _Alloc > __gnu_cxx::_Rope_RopeFunction< _CharT, _Alloc > __gnu_cxx::_Rope_RopeLeaf< _CharT, _Alloc > __gnu_cxx::_Rope_RopeSubstring< _CharT, _Alloc > List of all members.

Public Types

typedef size_t _RC_t

Public Member Functions

 _Refcount_Base (_RC_t __n)
void _M_incr ()
_RC_t _M_decr ()

Public Attributes

volatile _RC_t _M_ref_count
__gthread_mutex_t _M_ref_count_lock

Detailed Description

Definition at line 434 of file rope.


Member Typedef Documentation

typedef size_t __gnu_cxx::_Refcount_Base::_RC_t

Definition at line 437 of file rope.


Constructor & Destructor Documentation

__gnu_cxx::_Refcount_Base::_Refcount_Base ( _RC_t  __n  )  [inline]

Definition at line 445 of file rope.

References __GTHREAD_MUTEX_INIT, and _M_ref_count_lock.


Member Function Documentation

_RC_t __gnu_cxx::_Refcount_Base::_M_decr (  )  [inline]

Definition at line 466 of file rope.

References __gthread_mutex_lock(), __gthread_mutex_unlock(), _M_ref_count, and _M_ref_count_lock.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_unref_nonnil().

void __gnu_cxx::_Refcount_Base::_M_incr (  )  [inline]

Definition at line 458 of file rope.

References __gthread_mutex_lock(), __gthread_mutex_unlock(), _M_ref_count, and _M_ref_count_lock.

Referenced by __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_M_ref_nonnil(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref().


Member Data Documentation

volatile _RC_t __gnu_cxx::_Refcount_Base::_M_ref_count

Definition at line 440 of file rope.

Referenced by _M_decr(), _M_incr(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_free_if_unref().

__gthread_mutex_t __gnu_cxx::_Refcount_Base::_M_ref_count_lock

Definition at line 443 of file rope.

Referenced by _M_decr(), _M_incr(), and _Refcount_Base().


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 16:58:04 2010 for GNU C++ STL by  doxygen 1.4.7