RT-Thread RTOS  1.2.0
An open source embedded real-time operating system
rt_mempool Struct Reference

#include <rtdef.h>

Data Fields

struct rt_object parent
 
void * start_address
 
rt_size_t size
 
rt_size_t block_size
 
rt_uint8_t * block_list
 
rt_size_t block_total_count
 
rt_size_t block_free_count
 
rt_list_t suspend_thread
 

Detailed Description

Base structure of Memory pool object

Field Documentation

◆ parent

struct rt_object rt_mempool::parent

inherit from rt_object

◆ start_address

void* rt_mempool::start_address

memory pool start

◆ size

rt_size_t rt_mempool::size

size of memory pool

◆ block_size

rt_size_t rt_mempool::block_size

size of memory blocks

◆ block_list

rt_uint8_t* rt_mempool::block_list

memory blocks list

◆ block_total_count

rt_size_t rt_mempool::block_total_count

numbers of memory block

◆ block_free_count

rt_size_t rt_mempool::block_free_count

numbers of free memory block

◆ suspend_thread

rt_list_t rt_mempool::suspend_thread

threads pended on this resource