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

  man pages->IRIX man pages -> pthread_rwlockattr_init (3p)              


pthread_rwlockattr_init(3P)			   pthread_rwlockattr_init(3P)

NAME    [Toc]    [Back]

     pthread_rwlockattr_init, pthread_rwlockattr_destroy - initialize/destroy
     a read-write lock attribute object

C SYNOPSIS    [Toc]    [Back]

     #include <pthread.h>

     int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
     int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);

DESCRIPTION    [Toc]    [Back]

     The function pthread_rwlockattr_init() initializes	the read-write lock
     attribute object referenced by attr to the	default	attribute values.  The
     default sharing value is PTHREAD_PROCESS_PRIVATE.

     Once a read-write lock attribute object is	used to	initialize one or more
     read-write	locks, any function that affects the attribute object will not
     affect the	previously initialized read-write locks.
     pthread_rwlockattr_destroy() uninitializes	the read-write lock attribute
     structure referenced by attr.

DIAGNOSTICS    [Toc]    [Back]

     These functions return zero.

SEE ALSO    [Toc]    [Back]

     pthread_rwlock_init(3P), pthread_rwlockattr_setpshared(3P).

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pthread_rwlock_init IRIX initialize/destroy a readwrite lock object
pthread_mutexattr_init IRIX initialize/destroy a mutex attribute object
pthread_condattr_init IRIX initialize/destroy a condition variable attribute object
pset_destroy HP-UX destroy a processor set
glxdestroyglxpixmap IRIX destroy a GLX pixmap
glxdestroycontext IRIX destroy a GLX context
cpusetDestroy IRIX destroy a cpuset
tt_message_destroy HP-UX destroy a message
deleteimg IRIX Destroy an image.
destroy IRIX Destroy one or more windows
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service