lkml.org 
[lkml]   [2006]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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@vger.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@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: 2006-08-21 12:49    [W:0.062 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site