Pulses

QNX SDP8.0Getting Started with the QNX OSDeveloperUser

All the messaging we've talked about so far blocks the client. It's nap time for the client as soon as it calls MsgSend(). The client sleeps until the server gets around to replying.

However, there are instances where the sender of a message can't afford to block. The mechanism that implements a non-blocking send is called a pulse. A pulse is a tiny message that:

  • can carry 72 bits of payload (an 8-bit code and 64 bits of data)
  • is non-blocking for the sender
  • can be received just like any other message
  • is queued if the receiver isn't blocked waiting for it
Page updated: