IT lexicon › Infra & Ops › Message passing (QNX)

Message passing (QNX)

Infra & Ops På svenska → Updated: 2026-11-09

The synchronous trio of MsgSend, MsgReceive and MsgReply on which everything else in QNX rests, from the file system to the network.

A server creates a channel and waits in MsgReceive(). A client connects and calls MsgSend(), which blocks — first send-blocked until the server picks it up, then reply-blocked until MsgReply() comes back. The kernel copies data straight between address spaces with no intermediate buffer. The server also inherits the client's priority while working on its behalf, which closes the door on a whole class of priority inversions.

Resource managers are built on top: a read() on a file is just a message in a well-known format. Anything that mustn't block uses pulses, and Qnet lets the very same call reach another machine. Synchronous IPC is often blamed for making microkernels slow; QNX's answer has been to keep it simple enough that it never needs to be anything else.

← Back to the lexicon