Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_mutexattr_create(3-thr) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pthread_mutexattr_create(3-thr)             pthread_mutexattr_create(3-thr)

NAME
     pthreadmutexattrcreate - creates a mutex attributes object

SYNOPSIS
     #include <pthread.h>

     int pthreadmutexattrcreate(pthreadmutexattrt *attr);

PARAMETERS
     attr      Mutex attributes object created.

DESCRIPTION
     The pthreadmutexattrcreate() routine creates a mutex attributes
     object used to specify the attributes of mutexes when they are
     created. The mutex attributes object is initialized with the default
     value for all of the attributes defined by a given implementation.

     When a mutex attributes object is used to create a mutex, the values
     of the individual attributes determine the characteristics of the new
     object. Attributes objects act like additional parameters to object
     creation. Changing individual attributes does not affect any objects
     that were previously created using the attributes object.

RETURN VALUES
     The created mutex attributes object is returned to the attr parameter.

     If the function fails, errno may be set to one of the following
     values:

     EINVAL    The value specified by attr is invalid.

     ENOMEM    Insufficient memory exists to create the mutex attributes
               object.

SEE ALSO
     pthreadcreate(3-thr), pthreadmutexinit(3-thr),
     pthreadmutexattrdelete(3-thr), pthreadmutexattrgetkindnp(3-thr),
     pthreadmutexattrsetkindnp(3-thr).

















Page 1                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026