*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> pthread_rwlockattr_getpshared (3)              
Title
Content
Arch
Section
 

pthread_rwlockattr_getpshared(3)

Contents


NAME    [Toc]    [Back]

       pthread_rwlockattr_getpshared - Obtains the process-shared
       attribute of a read-write lock attributes object

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

       int pthread_rwlockattr_getpshared(
               const pthread_rwlockattr_t *attr,
               int *pshared );

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

PARAMETERS    [Toc]    [Back]

       Address of the read-write  lock  attributes  object  whose
       process-shared  attribute  is to be obtained.  Location to
       store the value of the process-shared attribute of attr.

DESCRIPTION    [Toc]    [Back]

       This routine  obtains  the  value  of  the  process-shared
       attribute  in the read-write lock attributes object referenced
 by attr and stores it at the location pshared.   The
       object  referenced by attr must be initialized before this
       routine is called.

RETURN VALUES    [Toc]    [Back]

       If an error condition  occurs,  this  routine  returns  an
       integer  value  indicating  the  type  of  error. Possible
       return values are as follows: Successful completion.   The
       value  specified by attr is not a valid attributes object.

ERRORS    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Functions:               pthread_rwlockattr_setpshared(3),
       pthread_rwlockattr_init(3)

       Manuals: Guide to DECthreads and Programmer's Guide



                                 pthread_rwlockattr_getpshared(3)
[ Back ]
 Similar pages
Name OS Title
pthread_mutexattr_getpshared Tru64 Obtains the process-shared attribute of a mutex attributes object
pxfwait IRIX Obtains information about a calling process' child process
pthread_getconcurrency Tru64 Obtains the value of the concurrency level global variable for this process
pthread_rwlockattr_setpshared FreeBSD set the process shared attribute
pthread_rwlockattr_getpshared FreeBSD get the process shared attribute
pthread_rwlockattr_setpshared OpenBSD set the process shared attribute
pthread_rwlockattr_getpshared OpenBSD get the process shared attribute
pthread_rwlockattr_setpshared Tru64 Sets the process-shared
shmseg HP-UX maximum number of System V shared memory segments per process
pthread_mutexattr_setpshared Tru64 Sets the process-shared attribute of a mutex attributes object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service