1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
.\" Copyright (C) 1996-1999 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of
.\" this manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for modified
.\" versions, except that this permission notice may be stated in a
.\" translation approved by the Foundation.
.\"
.\" Copyright (C) 1996 Xavier Leroy.
.\"
.\" Japanese Version Copyright (C) 2003 Suzuki Takashi
.\" all rights reserved.
.\" Translated Sun Jan 5 18:06:27 JST 2003
.\" by Suzuki Takashi.
.\"
.\"WORD: condition attribute object ѿ°֥
.\"
.\"
.TH PTHREAD_CONDATTR 3 LinuxThreads
.SH "̾"
pthread_condattr_init, pthread_condattr_destroy \- ѿ°
.SH ""
.B #include <pthread.h>
.BI "int pthread_condattr_init(pthread_condattr_t *" attr ");"
.BI "int pthread_condattr_destroy(pthread_condattr_t *" attr ");"
.SH ""
ѿ°Ͼѿκˡ
.BR "pthread_cond_init" (3)
2 Ȥƾѿ°֥ȤϤȤ
ꤹ뤳ȤǤ롣
.B "NULL"
ϤȤϡ
٤Ƥ°ǥեͤꤵ줿ѿ°֥Ȥ
ϤȤƱǤ롣
LinuxThreads μǤϡѿ°ˤϰбƤʤ
ѿ°˴ؤؿ POSIX ɸȤθߴݤĤ
ѰդƤ롣
.B "pthread_condattr_init"
Ͼѿ°֥
.I "attr"
٤Ƥ°ǥեͤꤹ롣
.B "pthread_condattr_destroy"
Ͼѿ°֥Ȥ˲롣
˲֥ȤϺƤӽޤǺƻѤƤϤʤʤ
δؿξȤ⡢ LinuxThreads μǤϲ⤷ʤ
.SH "֤"
.B "pthread_condattr_init"
.B "pthread_condattr_destroy"
Ͼ 0 ֤
.SH ""
Xavier Leroy <Xavier.Leroy@inria.fr>
.SH "Ϣ"
.BR "pthread_cond_init" (3).
[] LinuxThreads ǤϾѿץ֤Ƕͭ뤳ȤϤǤʤ
glibc-linuxthreads-2.2 ʹߡ 2 ĤδؿɲäƤ롣
.BI "int pthread_condattr_getpshared(const pthread_condattr_t *" attr ", int *" pshared ");"
.I "pshared"
ǻؤΰ
.B "PTHREAD_PROCESS_PRIVATE"
Ǽ 0 ֤
.BI "int pthread_condattr_setpshared(pthread_condattr_t *" attr ", int " pshared ");"
.I "pshared"
.B "PTHREAD_PROCESS_PRIVATE"
.B "PTHREAD_PROCESS_SHARED"
ΤǤʤ硢
.B "EINVAL"
֤
.I "pshared"
.B "PTHREAD_PROCESS_SHARED"
ξ硢
.B "ENOSYS"
֤
ʳξ硢 0 ֤
|