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

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

pthread_rwlockattr_init(3)

Contents


NAME    [Toc]    [Back]

       pthread_rwlockattr_init  -  Initialize  a  read-write lock
       attributes object

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

       int pthread_rwlockattr_init(
               pthread_rwlockattr_t *attr );

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

PARAMETERS    [Toc]    [Back]

       Address of the read-write lock  attributes  object  to  be
       initialized.

DESCRIPTION    [Toc]    [Back]

       This  routine  initializes  the read-write lock attributes
       object referenced by attr and  sets  its  attributes  with
       default values.

       The  results of calling this routine are undefined if attr
       references  an   already   initialized   read-write   lock
       attributes object.

       After an initialized read-write lock attributes object has
       been used  to  initialize  one  or  more  read-write  lock
       objects,  any operation on that attributes object (including
 destruction) has no effect on  those  read-write  lock
       objects.

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.
       Insufficient memory exists to  initialize  the  read-write
       lock attributes object.

ERRORS    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  pthread_rwlockattr_destroy(3), pthread_rwlockattr_getpshared(3),      pthread_rwlockattr_setpshared(3),
       pthread_rwlock_init(3)

       Manuals: Guide to DECthreads and Programmer's Guide



                                       pthread_rwlockattr_init(3)
[ Back ]
 Similar pages
Name OS Title
pthread_rwlockattr_init OpenBSD initialize a read/write lock
pthread_rwlock_init OpenBSD initialize a read/write lock
pthread_rwlockattr_init FreeBSD initialize a read/write lock
pthread_rwlock_init FreeBSD initialize a read/write lock
pthread_rwlock_rdlock IRIX lock a read-write lock object for reading
pthread_rwlock_wrlock IRIX lock a read-write lock object for writing
tis_rwlock_destroy Tru64 Destroys the specified read-write lock object
pthread_rwlock_init Tru64 Initializes a read-write lock object
tis_rwlock_init Tru64 Initializes a read-write lock object
pthread_rwlock_destroy Tru64 Destroys a read-write lock object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service