MyWebUniversity.com Home Page
 



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

NAME
     pthreadmutexdestroy -- free resources allocated for a mutex

SYNOPSIS
     ##include <>

     int
     pthreadmutexdestroy(pthreadmutext *mutex);

DESCRIPTION
     The pthreadmutexdestroy() function frees the resources allocated for
     mutex.

RETURN VALUES
     If successful, pthreadmutexdestroy() will return zero, otherwise an
     error number will be returned to indicate the error.

ERORS
     pthreadmutexdestroy() will fail if:

     [EINVAL]           The value specified by mutex is invalid.

     [EBUSY]            Mutex is locked by another thread.

SEE ALSO
     pthreadmutexinit(3), pthreadmutexlock(3), pthreadmutextrylock(3),
     pthreadmutexunlock(3)

STANDARDS
     pthreadmutexdestroy() conforms to ISO/IEC 9945-1:1996 (``POSIX.1'').

BSD                              July 29, 1998                             BSD
Darwin Mac OS X man pages main menu

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