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.
faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

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

Postby faisal » Fri Oct 06, 2017 9:49 pm

#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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

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

Postby Giovanni » Sat Oct 07, 2017 6:08 am

Hi,

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

Giovanni


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 10 guests