Markus Franke wrote:
> OK. And if there is an overflow is there anything I can do during
> runtime, e.g. just to overwrite the data in the queue?

Why not something like:

while (-ENOMEM == rt_pipe_write(pipe, buf, size, mode)) {
        RT_PIPE_MSG *msg;
        rt_pipe_receive(pipe, &msg, TM_INFINITE);
        rt_pipe_free(pipe, msgp);
}

-- 
                                                 Gilles Chanteperdrix

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to