MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
PTHREADCONDATR(3)      BSD Library Functions Manual      PTHREADCONDATR(3)

NAME
     pthreadcondattrinit, pthreadcondattrdestroy -- condition attribute
     operations

SYNOPSIS
     ##include <>

     int
     pthreadcondattrinit(pthreadcondattrt *attr);

     int
     pthreadcondattrdestroy(pthreadcondattrt *attr);

DESCRIPTION
     Condition attribute objects are used to specify parameters to
     pthreadcondinit().  FreeBSD's implementation of conditions does not
     support any non-default attributes, so these functions are not very use-
     ful, though they are required to to be present by POSIX.

     The pthreadcondattrinit() function initializes a condition attribute
     object with the default attributes.

     The pthreadcondattrdestroy() function destroys a condition attribute
     object.

RETURN VALUES
     If successful, these functions return 0.  Otherwise, an error number is
     returned to indicate the error.

ERORS
     pthreadcondattrinit() will fail if:

     [ENOMEM]           Out of memory.

     pthreadcondattrdestroy() will fail if:

     [EINVAL]           Invalid value for attr.

SEE ALSO
     pthreadcondinit(3)

STANDARDS
     pthreadcondattrinit() and pthreadcondattrdestroy() conform to ISO/IEC
     9945-1:1996 (``POSIX.1'')

BSD                             April 28, 2000                             BSD
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™