lkml.org 
[lkml]   [2004]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Using the Native POSIX Threading Library (NPTL) instead of linuxthreads.
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.070 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site