#include <pthread_allocimpl.h>
Collaboration diagram for std::_Pthread_alloc_template:
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 |
char* | _S_start_free |
char* | _S_end_free |
size_t | _S_heap_size |
_Pthread_alloc_per_thread_state< _Max_size>* | _S_free_per_thread_states |
pthread_key_t | _S_key |
bool | _S_key_initialized |
Friends | |
class | _M_lock |
|
Definition at line 82 of file pthread_allocimpl.h. |
|
Definition at line 88 of file pthread_allocimpl.h. |
|
|
|
|
|
Definition at line 93 of file pthread_allocimpl.h. Referenced by allocate(), and deallocate(). |
|
Referenced by allocate(), and deallocate(). |
|
|
|
Definition at line 90 of file pthread_allocimpl.h. Referenced by allocate(). |
|
Definition at line 128 of file pthread_allocimpl.h. |
|
Definition at line 153 of file pthread_allocimpl.h. |
|
|
|
Definition at line 118 of file pthread_allocimpl.h. |
|
Definition at line 100 of file pthread_allocimpl.h. |
|
Definition at line 102 of file pthread_allocimpl.h. |
|
Definition at line 104 of file pthread_allocimpl.h. |
|
Definition at line 103 of file pthread_allocimpl.h. |
|
Definition at line 105 of file pthread_allocimpl.h. |
|
Definition at line 106 of file pthread_allocimpl.h. |
|
Definition at line 101 of file pthread_allocimpl.h. |