Hi Everbody,
I am new to Linux world and fascinated with it. I have
an experience of 2.5 years in C++,C,COM,ATL,VC++ and
want to get into Linux World.I have build and
installed Linux Kernel 2.6.0 after struggling for four
days.
I installed Linux 2.6.0 so that I should be able to
work with NPTL which is POSIX1.b compliant. But, when
I see ma for mq_open and mq_close functions, it
doesn't shows me anything.
I want to explore the NPTL and functionality provided
by NPTL as I want to use POSIX Message Queues, Shared
Memory and Semaphores.
I was assuming the Linux Kernel 2.6.0 should have NPTL
installed in it with default along with the neccessay
headers.
How can I see the detailed descriptions of the
services provided by NPTL ? Please suggest me what are
the neccessary steps requried to use NPTL in my Linux
Kernel 2.6.0 ? Do I need to download some packages to
work with NPTL in Linux Kernel 2.6.0 ?
Thanks & Regards
Dinesh
________________________________________________________________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html
On Thu, Mar 04, 2004 at 09:38:05AM +0000, Dinesh Ahuja wrote:
> Hi Everbody,
>
> I am new to Linux world and fascinated with it. I have
> an experience of 2.5 years in C++,C,COM,ATL,VC++ and
> want to get into Linux World.I have build and
> installed Linux Kernel 2.6.0 after struggling for four
> days.
>
> I installed Linux 2.6.0 so that I should be able to
> work with NPTL which is POSIX1.b compliant. But, when
> I see ma for mq_open and mq_close functions, it
> doesn't shows me anything.
NPTL doesn't support _POSIX_MESSAGE_PASSING yet, because the
kernel doesn't support it yet (patches are floating around though
and as soon as kernel starts supporting NPTL will add support
for it).
> How can I see the detailed descriptions of the
> services provided by NPTL ? Please suggest me what are
#include <unistd.h> and check the various _POSIX_* macros
(or browse /usr/include/{,nptl/}bits/posix_opt.h) or use sysconf/getconf
(for mq_* sysconf (_SC_MESSAGE_PASSING) or getconf MESSAGE_PASSING). See
http://www.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap02.html
for details.
Jakub
On Thu, 4 Mar 2004, [iso-8859-1] Dinesh Ahuja wrote:
> Hi Everbody,
>
> I am new to Linux world and fascinated with it. I have
> an experience of 2.5 years in C++,C,COM,ATL,VC++ and
> want to get into Linux World.I have build and
> installed Linux Kernel 2.6.0 after struggling for four
> days.
>
> I installed Linux 2.6.0 so that I should be able to
> work with NPTL which is POSIX1.b compliant. But, when
> I see ma for mq_open and mq_close functions, it
> doesn't shows me anything.
POSIX message queues support was just added in -mm tree (it is testing
version of linux kernel available from kernel.org). So after you install
linux-2.6.4-rc1-mmX kernel (and library, from
http://www.mat.uni.torun.pl/~wroan/posix_ipc - it is very simply) you will have
possibility to use mq_open etc.
Regards
Krzysiek