Message queue flush
Hi,
In my application I need to flush a queue if rt_queue_write returns -ENOMEM to prevent the consumer process from reading old data.
Is there any function in the native api that flushes a message queue, like rt_pipe_flush for pipes?
Thanks,
Christoph
Quoted 7 lines · Christoph Permes
Hi,
In my application I need to flush a queue if
rt_queue_writereturns-ENOMEMto prevent the consumer process from reading old data.Is there any function in the native api that flushes a message queue, like
rt_pipe_flushfor pipes?
Nope.
Quoted 10 lines
Thanks,
Christoph_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.
Quoted 7 lines · Christoph Permes
Hi,
In my application I need to flush a queue if
rt_queue_writereturns-ENOMEMto prevent the consumer process from reading old data.Is there any function in the native api that flushes a message queue, like
rt_pipe_flushfor pipes?
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=ea4ad49cbf13ba3870351a9d3e301041af4c0279
Quoted 10 lines
Thanks,
Christoph_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
Signature · 1 line
Philippe.