multiple tasks calling rt_pipe_write() on same pipe
Hi,
I have multiple tasks all calling rt_pipe_write() to send some data through the same pipe. Is my assumption that rt_pipe_write() won't be interupted when a higher priority thread becomes ready correct?
Theo
Quoted 6 lines · Theo Veenker
Hi,
I have multiple tasks all calling
rt_pipe_write()to send some data through the same pipe. Is my assumption thatrt_pipe_write()won't be interupted when a higher priority thread becomes ready correct?
Messages are always atomically queued on the write side, so the contents of two distinct messages won't be mixed. Of course, the priority may still affect the queuing order of both messages, though. Does this answer your question?
Signature · 1 line
Philippe.
Quoted 8 lines · Philippe Gerum
Quoted 6 lines · Theo Veenker
Hi,
I have multiple tasks all calling
rt_pipe_write()to send some data through the same pipe. Is my assumption thatrt_pipe_write()won't be interupted when a higher priority thread becomes ready correct?
Quoted 5 lines
Messages are always atomically queued on the write side, so the contents of two distinct messages won't be mixed. Of course, the priority may still affect the queuing order of both messages, though. Does this answer your question?
Perfectly! Thanks.
Theo