Objects FIFO variant with non-guarded mem pool

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

Objects FIFO variant with non-guarded mem pool

Post by faisal »

Can we get an objects fifo variant with a non-guarded memory pool? In some applications, we may not want the overhead of a guarded memory pool, and can live with a regular one.

Edit: This probably should be filed in small change requests ..
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Objects FIFO variant with non-guarded mem pool

Post by Giovanni »

Moving the topic.

Giovanni
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: Objects FIFO variant with non-guarded mem pool

Post by faisal »

Just wanted to add that both should be able to used in the same application - not either/or. Some parts of my code would benefit from a guarded pool (ability to sleep and set timeout) and others don't need it as the producer and consumer are the same thread.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Objects FIFO variant with non-guarded mem pool

Post by Giovanni »

bump

How would this new object named?

Giovanni
Post Reply