Professional Documents
Culture Documents
MECHANISMS
Intertask communication: Intertask communication involves sharing of data
among task through sharing of memory space, transmission of data etc. It is
executed using following mechanisms
memory sharing
signaling mechanism
message passing
• 1. Message queues
• 2. Pipes
• 3. Event registers
• 4. Signals
WHY ITC
• INFORMATION SHARING
• RESOURCE SHARING
• COMPUTATIONAL SPEED UP
• SYNCHRONIZATION
• MODULARITY
• CONVENIENCE
MESSAGE QUEUE
• A message queue is an inter-process/task communication (IPC/ITC)
mechanism that allows processes to exchange data in the form of messages
between two processes. It allows tasks to communicate asynchronously by
sending messages to each other where the messages are stored in a queue,
waiting to be processed, and are deleted after being processed.