[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <44E98ECB.3040603@cfl.rr.com>
Date: Mon, 21 Aug 2006 06:45:31 -0400
From: Mark Hounschell <dmarkh@....rr.com>
To: Lee Revell <rlrevell@...-job.com>
CC: Luka Marinko <luka.marinko@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: question on pthreads
Lee Revell wrote:
> On Sun, 2006-08-20 at 21:32 +0000, Luka Marinko wrote:
>> You can find nice manual here, and overview
>> http://www.gnu.org/software/libc/manual/html_mono/libc.html
>>
>
> Unfortunately the NPTL documentation is FAR from complete - there are no
> man pages at all, and some featured are completely undocumented. For
> example process-shared mutexes are supported, but the only way you'd
> know is to look at the source. The only docs I could find on how to use
> them were old Solaris man pages.
>
> Lee
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
glibc 2.4.31 has a man page for it.
PTHREAD_MUTEXATTR_GETPSHARED(P) POSIX
Programmer's Manual PTHREAD_MUTEXATTR_GETPSHARED(P)
NAME
pthread_mutexattr_getpshared, pthread_mutexattr_setpshared - get and set
the process-shared attribute
SYNOPSIS
#include <pthread.h>
int pthread_mutexattr_getpshared(const pthread_mutexattr_t *
restrict attr, int *restrict pshared);
int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr,
int pshared);
Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists