25 #if defined (SERVER_MODE) 39 else if (size <= b.
dim)
45 size_t new_size = b.
dim;
46 while (new_size < size)
82 #if defined (SERVER_MODE) 88 #else // not SERVER_MODE 91 #endif // not SERVER_MODE 97 #if defined (SERVER_MODE) 103 HL_HEAPID save_heapid = db_private_set_heapid_to_thread (thread_p, heapid);
105 (void) db_private_set_heapid_to_thread (thread_p, save_heapid);
109 #endif // SERVER_MODE 118 #if defined (SERVER_MODE) 124 HL_HEAPID save_heapid = db_private_set_heapid_to_thread (thread_p, heapid);
126 (void) db_private_set_heapid_to_thread (thread_p, save_heapid);
129 #endif // SERVER_MODE 138 #if defined (SERVER_MODE) && !defined (NDEBUG) 148 #if defined (SERVER_MODE) && !defined (NDEBUG) void deregister_private_allocator(cubthread::entry *thread_p)
void private_heap_deallocate(cubthread::entry *thread_p, HL_HEAPID heapid, void *ptr)
void * private_heap_allocate(cubthread::entry *thread_p, HL_HEAPID heapid, size_t size)
void private_block_deallocate(block &b)
int count_private_allocators
const block_allocator PRIVATE_BLOCK_ALLOCATOR
void private_block_allocate(block &b, size_t size)
#define db_private_free(thrd, ptr)
#define db_private_alloc(thrd, size)
HL_HEAPID get_private_heapid(cubthread::entry *&thread_p)
void register_private_allocator(cubthread::entry *thread_p)
HL_HEAPID private_heap_id
#define db_private_realloc(thrd, ptr, size)