1999-12-09 17:26:08 +01:00
|
|
|
|
.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com>
|
|
|
|
|
.\" All rights reserved.
|
|
|
|
|
.\"
|
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
|
.\" are met:
|
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
|
.\" 3. Neither the name of the author nor the names of any co-contributors
|
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
|
.\"
|
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY JOHN BIRRELL AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
|
.\"
|
2002-05-18 09:12:57 +02:00
|
|
|
|
.\" %FreeBSD: src/lib/libc_r/man/pthread_mutex_destroy.3,v 1.5.2.5 2001/12/17 10:08:26 ru Exp %
|
2001-07-26 02:36:08 +02:00
|
|
|
|
.\"
|
2001-05-14 03:10:24 +02:00
|
|
|
|
.\" $FreeBSD$
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Dd July 29, 1998
|
|
|
|
|
.Dt PTHREAD_MUTEX_DESTROY 3
|
2001-12-29 19:20:02 +01:00
|
|
|
|
.Os
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh ̾<EFBFBD><EFBFBD>
|
|
|
|
|
.Nm pthread_mutex_destroy
|
2002-08-29 04:13:34 +02:00
|
|
|
|
.Nd mutex <EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>줿<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>β<EFBFBD><EFBFBD><EFBFBD>
|
2001-07-26 02:36:08 +02:00
|
|
|
|
.Sh <EFBFBD>饤<EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Lb libc_r
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2002-05-18 09:12:57 +02:00
|
|
|
|
.In pthread.h
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Ft int
|
|
|
|
|
.Fn pthread_mutex_destroy "pthread_mutex_t *mutex"
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fn pthread_mutex_destroy
|
2001-12-29 19:20:02 +01:00
|
|
|
|
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD>
|
|
|
|
|
.Fa mutex
|
2002-08-29 04:13:34 +02:00
|
|
|
|
<EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>줿<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>꤬<EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Fn pthread_mutex_destroy
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD><EFBFBD> 0 <20><><EFBFBD>֤<EFBFBD><D6A4>ޤ<EFBFBD><DEA4><EFBFBD>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>꤬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Υ<EFBFBD><EFBFBD>顼<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥<EFBFBD><EFBFBD>顼<EFBFBD>ֹ椬<EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD>顼
|
|
|
|
|
.Fn pthread_mutex_destroy
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD>ϰʲ<EFBFBD><EFBFBD>ξ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˼<EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.Bl -tag -width Er
|
|
|
|
|
.It Bq Er EINVAL
|
|
|
|
|
.Fa mutex
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD>ˤ<EFBFBD><EFBFBD>äƻ<EFBFBD><EFBFBD>ꤵ<EFBFBD>줿<EFBFBD>ͤ<EFBFBD>̵<EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.It Bq Er EBUSY
|
|
|
|
|
.Fa mutex
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>̤Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>åɤ˥<EFBFBD><EFBFBD>å<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
1999-12-09 17:26:08 +01:00
|
|
|
|
.El
|
|
|
|
|
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Xr pthread_mutex_init 3 ,
|
|
|
|
|
.Xr pthread_mutex_lock 3 ,
|
|
|
|
|
.Xr pthread_mutex_trylock 3 ,
|
|
|
|
|
.Xr pthread_mutex_unlock 3
|
|
|
|
|
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.Fn pthread_mutex_destroy
|
2001-07-26 02:36:08 +02:00
|
|
|
|
<EFBFBD><EFBFBD>
|
|
|
|
|
.St -p1003.1-96
|
|
|
|
|
<EFBFBD><EFBFBD>Ŭ<EFBFBD>礷<EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|