Guarded Memory pool which allows for dynamic allocation/growth Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Guarded Memory pool which allows for dynamic allocation/growth

Post by faisal »

#define GUARDEDMEMORYPOOL_DECL(name, size) could also include an allocator, as does MEMORYPOOL_DECL(name, size, provider). But in the case of a guarded memory pool, the size parameter restricts the growth of the memory pool - unlike with a regular memory pool.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Guarded Memory pool which allows for dynamic allocation/growth

Post by Giovanni »

Hi,

Guarded pools are meant for limited resources, this is why there is no provider.

Giovanni
Post Reply