Alternate message queue manager (QNX Neutrino)
You must be root to start this manager. |
mq [options] &
Neutrino
The mq manager is an alternate implementation of POSIX 1003.1b message queues. When you create a queue, it appears in the pathname space under /dev/mq.
|
This implementation uses a queue within the kernel to buffer the messages and eliminates the context-switching overhead of using an external server (i.e. mqueue) in each message-queue operation, thus greatly improving the performance of POSIX message queues.
In order to use the mq implementation, you must link your application(s) against the libmq library. In a manual build, specify the -l mq option; in automatic/recursive builds, use this setting in your common.mk file:
LIBS += mq
For more information, see the POSIX Message Queues: Two Implementations technote.
mq_close(), mq_getattr(), mq_notify(), mq_open(), mq_receive(), mq_send(), mq_setattr(), mq_unlink() in the QNX Neutrino C Library Reference
“POSIX message queues” in the “Interprocess Communication (IPC)” chapter of System Architecture
Controlling How Neutrino Starts in the QNX Neutrino User's Guide