#include <pthread_allocimpl.h>
Collaboration diagram for std::_Pthread_alloc_template< _Max_size >:
Public Types | |
typedef _Pthread_alloc_obj | __obj |
enum | { _S_ALIGN = __STL_DATA_ALIGNMENT } |
Static Public Methods | |
char * | _S_chunk_alloc (size_t __size, int &__nobjs) |
size_t | _S_round_up (size_t __bytes) |
size_t | _S_freelist_index (size_t __bytes) |
void * | allocate (size_t __n) |
void | deallocate (void *__p, size_t __n) |
void * | reallocate (void *__p, size_t __old_sz, size_t __new_sz) |
Static Private Methods | |
void | _S_destructor (void *instance) |
_Pthread_alloc_per_thread_state< _Max_size > * | _S_new_per_thread_state () |
_Pthread_alloc_per_thread_state< _Max_size > * | _S_get_per_thread_state () |
Static Private Attributes | |
pthread_mutex_t | _S_chunk_allocator_lock = PTHREAD_MUTEX_INITIALIZER |
char * | _S_start_free = 0 |
char * | _S_end_free = 0 |
size_t | _S_heap_size = 0 |
_Pthread_alloc_per_thread_state< _Max_size > * | _S_free_per_thread_states = 0 |
pthread_key_t | _S_key |
bool | _S_key_initialized = false |
Friends | |
class | _M_lock |
|
Definition at line 111 of file pthread_allocimpl.h. |
|
Definition at line 117 of file pthread_allocimpl.h. |
|
Definition at line 266 of file pthread_allocimpl.h. References std::_Pthread_alloc_per_thread_state< _Max_size >::__free_list, and allocate(). |
|
Definition at line 210 of file pthread_allocimpl.h. References std::_Pthread_alloc_template< _Max_size >::_S_free_per_thread_states. Referenced by std::_Pthread_alloc_template< _Max_size >::_S_get_per_thread_state(). |
|
Definition at line 122 of file pthread_allocimpl.h. References std::_Pthread_alloc_template< _Max_size >::_S_ALIGN. Referenced by std::_Pthread_alloc_template< _Max_size >::allocate(), and std::_Pthread_alloc_template< _Max_size >::deallocate(). |
|
|
Definition at line 221 of file pthread_allocimpl.h. References std::_Pthread_alloc_template< _Max_size >::_S_free_per_thread_states. Referenced by std::_Pthread_alloc_template< _Max_size >::_S_get_per_thread_state(). |
|
Definition at line 119 of file pthread_allocimpl.h. References std::_Pthread_alloc_template< _Max_size >::_S_ALIGN. Referenced by std::_Pthread_alloc_template< _Max_size >::allocate(). |
|
|
|
Definition at line 365 of file pthread_allocimpl.h. References allocate(), and deallocate(). |
|
Definition at line 147 of file pthread_allocimpl.h. |
|
Definition at line 394 of file pthread_allocimpl.h. |
|
Definition at line 402 of file pthread_allocimpl.h. |
|
Definition at line 384 of file pthread_allocimpl.h. Referenced by std::_Pthread_alloc_template< _Max_size >::_S_destructor(), and std::_Pthread_alloc_template< _Max_size >::_S_new_per_thread_state(). |
|
Definition at line 406 of file pthread_allocimpl.h. |
|
Definition at line 387 of file pthread_allocimpl.h. Referenced by std::_Pthread_alloc_template< _Max_size >::_S_get_per_thread_state(), std::_Pthread_alloc_template< _Max_size >::allocate(), and std::_Pthread_alloc_template< _Max_size >::deallocate(). |
|
Definition at line 390 of file pthread_allocimpl.h. Referenced by std::_Pthread_alloc_template< _Max_size >::_S_get_per_thread_state(), std::_Pthread_alloc_template< _Max_size >::allocate(), and std::_Pthread_alloc_template< _Max_size >::deallocate(). |
|
Definition at line 398 of file pthread_allocimpl.h. |