8 #ifdef ABT_CONFIG_USE_MEM_POOL
18 int num_requested_types = 0;
20 switch (p_global->mem_lp_alloc) {
26 requested_types[num_requested_types++] =
32 requested_types[num_requested_types++] =
34 requested_types[num_requested_types++] =
39 requested_types[num_requested_types++] =
59 p_global->mem_max_stacks /
61 stacksize, thread_stacksize,
62 p_global->mem_sp_size, requested_types,
64 p_global->mem_page_size);
69 p_global->mem_max_descs /
72 p_global->mem_page_size, requested_types,
74 p_global->mem_page_size);
75 #ifndef ABT_CONFIG_DISABLE_EXT_THREAD
79 &p_global->mem_pool_stack);
87 &p_global->mem_pool_desc);
103 &p_global->mem_pool_stack);
106 &p_global->mem_pool_desc);
116 #ifndef ABT_CONFIG_DISABLE_EXT_THREAD
132 size_t sp_size = p_global->mem_sp_size;
133 size_t pg_size = p_global->mem_page_size;