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

Objects FIFO variant with non-guarded mem pool

Postby faisal » Tue Jan 16, 2018 4:06 am

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Objects FIFO variant with non-guarded mem pool

Postby Giovanni » Tue Jan 16, 2018 8:25 am

Moving the topic.

Giovanni

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: Objects FIFO variant with non-guarded mem pool

Postby faisal » Tue Jan 16, 2018 2:38 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Objects FIFO variant with non-guarded mem pool

Postby Giovanni » Sun Jan 06, 2019 5:02 pm

bump

How would this new object named?

Giovanni


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 10 guests