Non-blocking message_queue_send

Isaac Gutekunst isaac.gutekunst at vecna.com
Fri Feb 12 15:40:02 UTC 2016


Hi All,

I have an application where having a non-blocking 
rtems_message_queue_send would be useful.


I will have multiple producers and a single consumer task wise, so 
using rtems_message_queue_get_number_pending as method to determine if 
the next send will succeed won't work.

Has anyone had a similar problem before?


I'm thinking I can wrap all calls to this message queue with a counting 
semaphore and use that to arbitrate. Any other suggestions?

Isaac


More information about the users mailing list