| Authors: | Michal Wronski | ![]() |
| Krzysztof Benedyczak | ![]() |
POSIX message queues are part of IPC used to exchange messages between
processes. Since 2.6.6-rc1 it has been included into linux kernel,
however for a proper work you still need a user-space library. Recent
version of glibc (after 12-04-2004) includes necessary support.
Message queues are implemented as a filesystem called mqueue. Library
adds appropriate interface to a mqueue filesystem which is compliant with
POSIX standard (IEEE Std 1003.1-2001).
All of the functions run
independent to System V style IPC which is already implemented.
Package is released under the GNU General Public License. Feel free to modify (improve) it, but remember that this software comes with absolutely no warranty!
A lot of examples that show how to use POSIX message queues can be found in the book:
Stevens, W. R. UNIX Network Programming, Volume 2, Second Edition: Interprocess
Communications, Prentice Hall, 1999.
Open posix test suite is a complete
test suite that can be used to test conformance with IEEE Std. 1003.1-2001.
(20-04-2004) For those of you who like old glibc and don't want to install
new one, we have released new version of libmqueue. It offers full
functionality given by kernel but please note that we are not going to work
on this anymore (some time everyone will be using glibc 2.3.4 or newer).
(17-04-2004) Necessary user-space support is included in glibc. Please
use recent version of glibc (after 2004-4-12).
If you have old glibc (released before 12-04-2004) and don't want to upgrade it you can use libmqueue. This bundle contains mqueue library, documentation and a few examples: libmqueue-4.41.tar.gz (205 kB).