IPC Messages

Processes can communicate with one another by means of IPC messages. Each message generated by a process is sent to an IPC message queue, where it stays until another process reads it.

A message is composed of a fixed-size header and a variable-length text; it can be labeled with an integer value (the message type), which allows a process to selectively retrieve messages from its message queue.19- Once a process has read a message from an IPC message queue, the kernel destroys the message; therefore, only one process can receive a given message.

Was this article helpful?

0 0

Post a comment