VMS Help
POSIX Threads, PTHREAD routines, pthread_rwlockattr_destroy
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Destroys a previously initialized read-write lock attributes
object.
#include <pthread.h>
int
pthread_rwlockattr_destroy (
pthread_rwlockattr_t *attr);
attr
Address of the read-write lock attributes object to be destroyed.
This routine destroys the read-write lock attributes object
referenced by attr; that is, the object becomes uninitialized.
After successful completion of this routine, the results of using
attr in a call to any routine (other than pthread_rwlockattr_
init()) are unpredictable.
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
[EINVAL] The value specified by attr is not a valid attributes
block.
pthread_rwlockattr_init()
pthread_rwlock_init()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.