TOC
Previous
Next
POSIX Message Queues
Asynchronous Notification
Instead of calling mq_receive(),
a process can receive asynchronous notification
when a message arrives on a previously empty queue.
-
mq_notify(2).
-
Only one process can receive notifications.
-
Various notification methods:
-
Send a signal.
-
Start a thread function.
cf. POSIX timers (both from POSIX.1b).
(C) 2006, Michael Kerrisk