Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

RTOS Internals - Mailbox,Message Queue and PIPE

Status
Not open for further replies.

vijay s

Full Member level 3
Joined
Jun 14, 2008
Messages
159
Helped
27
Reputation
54
Reaction score
9
Trophy points
1,298
Location
Coimbatore, India
Activity points
2,152
RTOS Internals

What is the difference between Mailbox,Message Queue and PIPE in RTOS

All these are Inter-Task communication Tool.. how they get differ...
 

Mailbox follows the pull model. i.e. the sender task can send a message to the mailbox and the receiver doesn't have to get it immediately. He has to check if there is a message in the mailbox to consume.

The difference depends on the OS implementation. Some OSes don't make any difference between pipe and queue; some do it one way and some other ways. Here are a couple of them

1.
Queue can be shared between multiple tasks i.e. multiple tasks can consume from queue while pipe can be share between two tasks only; one producer and the second consumer

2.
Message queue is same as pipe with the only difference that pipe is byte oriented while queue can be of any size.
 

if its helpful,let me know

idea.engr.uky.edu/wiki/data/media/.../embedded_software_primer_-_ch7.ppt
 
  • Like
Reactions: vijay s

    vijay s

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top