__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

Member Typedef Documentation

typedef size_t __gnu_cxx::_Refcount_Base::_RC_t
 

Definition at line 354 of file rope.

Referenced by _M_decr(), and _Refcount_Base().


Constructor & Destructor Documentation

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

Definition at line 362 of file rope.

References __GTHREAD_MUTEX_INIT, __gthread_mutex_t, _M_ref_count, _M_ref_count_lock, and _RC_t.


Member Function Documentation

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

Definition at line 383 of file rope.

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

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

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

Definition at line 375 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 357 of file rope.

Referenced by _M_decr(), _M_incr(), _Refcount_Base(), 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 360 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 Jan 30 17:32:02 2007 for GNU C++ STL by doxygen 1.3.6