Posix message queues in Linux 2.4
From: aires (barros_aires_at_yahoo.com)
Date: 09/21/04
- Next message: dafella24: "start program on specific pt or vt"
- Previous message: jsmithe8: "Re: What's wrong with this simple thread example?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Sep 2004 03:48:08 -0700
hi
I've been checking on availability of posix message queues -
mq_open,mq_send, mq_recieve,etc but am a bit comfused as to whether i
can use this API for an old 2.4.18 kernel. from what i understand from
the site - http://www-users.mat.uni.torun.pl/~wrona/posix_ipc/ - the
library is only an interface to the actual kernel fn calls. Thus my
kernel would also have to support Posix message queues besides just
the library patch being applied to glibc. Also i suppose i would have
to compile glibc against the corresponding kernel.
Hope i'm correct so far?
Now heres my problem - As they say posix mess q's were incorpated in
the kernel only from 2.6.6-rc1.
Thus from all of the above - would this would mean that using any
kernel earlier than the 2.6.6-rc1 (or rather any 2.4 kernel) would
mean that i cannot use posix mess q's ? (unless of course theres a
patch for earlier kernels ?)
Actually what i'm doing at the moment is compiling using a 2.6.5
kernel (suse 9.1 pro). Also glibc 2.3.2 and gcc2.95.3 were compiled
against the 2.6.5 kernel headers. Which is why i suppose i wasnt
getting any errors.
Was about to recompile but now unsure whether it would be of any use.
Help !
thanks
Aires
- Next message: dafella24: "start program on specific pt or vt"
- Previous message: jsmithe8: "Re: What's wrong with this simple thread example?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|