* Implementation of POSIX mqueues in Linux 2.6
@ 2007-08-03 9:59 gregfe
2007-08-03 10:23 ` Jakub Jelinek
0 siblings, 1 reply; 2+ messages in thread
From: gregfe @ 2007-08-03 9:59 UTC (permalink / raw)
To: linux-kernel
Hi there,
I find little documentation on the actual implementation of POSIX message queues in Linux, and need some advise. In
particular, I am wondering whether it supports inter-process *and* inter-thread
communication, and if can I manage to use shared memory pools for zero-copy messaging in case of inter-process
communication. On more thing: kernel's "make menuconfig" of version 2.6.11 says :
>> To use this feature you will also need mqueue library, available
>> from <... a URL ... to M. Wronski's and K. Benedyczak's home page>"
Is it still up to date ?
Thank you very much for your advise !
G.
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Implementation of POSIX mqueues in Linux 2.6
2007-08-03 9:59 Implementation of POSIX mqueues in Linux 2.6 gregfe
@ 2007-08-03 10:23 ` Jakub Jelinek
0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2007-08-03 10:23 UTC (permalink / raw)
To: gregfe; +Cc: linux-kernel
On Fri, Aug 03, 2007 at 09:59:32AM +0000, gregfe wrote:
> I find little documentation on the actual implementation of POSIX message
> queues in Linux, and need some advise. In particular, I am wondering
> whether it supports inter-process *and* inter-thread communication, and if
Not sure what exactly you mean by inter-thread communication, whether
communication between threads within one process or between threads from
different processes. You can use mq_* for either, except that mq_notify
registered signal notification is sent to the process that called mq_notify,
not thread (and for SIGEV_THREAD a new thread is created).
Though of course for communication between threads within one process
mq_* is a huge overkill.
> On more thing: kernel's "make menuconfig" of
> version 2.6.11 says :
>
> >> To use this feature you will also need mqueue library, available
>
> >> from <... a URL ... to M. Wronski's and K. Benedyczak's home page>"
>
> Is it still up to date ?
No, glibc supports mq_* APIs for more than 3 years now.
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-03 10:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-03 9:59 Implementation of POSIX mqueues in Linux 2.6 gregfe
2007-08-03 10:23 ` Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox