Professional Documents
Culture Documents
Designing With RTOS: Task Communication
Designing With RTOS: Task Communication
Designing With RTOS: Task Communication
Task Communication
• Co-operating Processes: In the co-operating interaction model one process requires the
inputs from other processes to complete its execution.
• Competing Processes: The competing processes do not share anything among
themselves but they share the system resources. The competing processes compete for
the system resources such as file, display device etc
Post Message
One task/process creates the mailbox and other
tasks/process can subscribe to this mailbox for
Mail Box
getting message notification
The implementation of the mailbox is OS kernel
Broadcast Message
Br
ge
oa
sa
dc
dependent
es
as
M
tM
st
ca
es
The MicroC/OS-II RTOS implements mailbox as a
ad
sa
o
ge
Br
mechanism for inter task communication
Task 2 Task 3 Task 4
Over Socket
CPU
Process 1 Process 2