Skip to contentSkip to conversation

multiple tasks calling rt_pipe_write() on same pipe

Xenomai-help Theo Veenker 2 participants 3 messages Dec 10, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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 that rt_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.
#2 lore raw
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 that rt_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