Public Types | |
| typedef Pthread_alloc_obj | __obj |
| enum | |
Static Public Member Functions | |
| static char * | S_chunk_alloc (size_t size, int &nobjs) |
| static size_t | S_round_up (size_t __bytes) |
| static size_t | S_freelist_index (size_t __bytes) |
| static void * | allocate (size_t n) |
| static void | deallocate (void *__p, size_t n) |
| static void * | reallocate (void *__p, size_t __old_sz, size_t new_sz) |
Static Private Member Functions | |
| static void | S_destructor (void *instance) |
|
static Pthread_alloc_per_thread_state< Max_size > * | S_new_per_thread_state () |
|
static Pthread_alloc_per_thread_state< Max_size > * | S_get_per_thread_state () |
Static Private Attributes | |
| static pthread_mutex_t | S_chunk_allocator_lock |
| static char * | S_start_free |
| static char * | S_end_free |
| static size_t | S_heap_size |
|
static Pthread_alloc_per_thread_state< Max_size > * | S_free_per_thread_states |
| static pthread_key_t | S_key |
| static bool | S_key_initialized |
Friends | |
| class | M_lock |
Classes | |
| class | M_lock |
Definition at line 112 of file pthread_allocimpl.h.
1.4.7