OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / glibc-linuxthreads / release / man3 / pthread_once.3
1 .\"   Copyright (C) 1996-1999 Free Software Foundation, Inc.
2 .\"
3 .\"   Permission is granted to make and distribute verbatim copies of
4 .\" this manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\"   Permission is granted to copy and distribute modified versions of
8 .\" this manual under the conditions for verbatim copying, provided that
9 .\" the entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\"   Permission is granted to copy and distribute translations of this
13 .\" manual into another language, under the above conditions for modified
14 .\" versions, except that this permission notice may be stated in a
15 .\" translation approved by the Foundation.
16 .\"
17 .\" Copyright (C) 1996 Xavier Leroy.
18 .\"
19 .\" Japanese Version Copyright (C) 2002-2003 Suzuki Takashi
20 .\"         all rights reserved.
21 .\" Translated Wed Jan  1 18:29:55 JST 2003
22 .\"         by Suzuki Takashi.
23 .\"
24 .\"
25 .TH PTHREAD_ONCE 3 LinuxThreads
26
27 .SH Ì¾Á°
28 pthread_once \- 1 ²ó¤­¤ê¤Î½é´ü²½
29
30 .SH ½ñ¼°
31 .B #include <pthread.h>
32
33 .BI "pthread_once_t " once_control " = PTHREAD_ONCE_INIT;"
34
35 .BI "int pthread_once(pthread_once_t *" once_control ", void (*" init_routine ") (void));"
36
37 .SH ÀâÌÀ
38
39 .B "pthread_once"
40 ¤ÎÌÜŪ¤Ï¡¢
41 ½é´ü²½¥³¡¼¥É¤¬¹â¡¹ 1 ²ó¤·¤«¼Â¹Ô¤µ¤ì¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤³¤È¤Ç¤¢¤ë¡£
42 °ú¿ô
43 .I "once_control"
44 ¤ÏÀÅŪÊÑ¿ô¤Þ¤¿¤Ï³°ÉôÊÑ¿ô¤ò»Ø¤·¼¨¤·¡¢ÀÅŪ¤Ë
45 .B "PTHREAD_ONCE_INIT"
46 ¤È¤¤¤¦Ãͤ˽é´ü²½¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
47
48 ºÇ½é¤Ë°ú¿ô
49 .I "once_control"
50 ¤È¤È¤â¤Ë
51 .B "pthread_once"
52 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¤È¤­¤Ë¤Ï¡¢
53 .I "init_routine"
54 ¤ò°ú¿ô¤Ê¤·¤Ç¸Æ¤Ó½Ð¤·¡¢
55 ÊÑ¿ô
56 .I "once_control"
57 ¤ÎÃͤòÊѹ¹¤·¤Æ½é´ü²½¤¬¹Ô¤Ê¤ï¤ì¤¿¤³¤È¤òµ­Ï¿¤¹¤ë¡£
58 ¤½¤Î¸åƱ¤¸°ú¿ô
59 .B "once_control"
60 ¤È¤È¤â¤Ë
61 .B "pthread_once"
62 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¤È¤­¤Ï²¿¤â¤·¤Ê¤¤¡£
63
64 .SH ÊÖ¤êÃÍ
65 .B "pthread_once"
66 ¤Ï¾ï¤Ë 0 ¤òÊÖ¤¹¡£
67
68 .SH ¥¨¥é¡¼
69 ¤Ê¤·¡£
70
71 .SH Ãø¼Ô
72 Xavier Leroy <Xavier.Leroy@inria.fr>
73
74
75 [ÌõÃí] glibc-linuxthreads ¤ÎºÇ¿·¤Î¥É¥­¥å¥á¥ó¥È¤Ï Texinfo ·Á¼°¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
76 °Ê²¼¤Ï glibc-linuxthreads-2.3.1 ¤Î Texinfo ¥Õ¥¡¥¤¥ë¤«¤é¤Î°úÍѤǡ¢
77 ¡ÖÀâÌÀ¡×¤Ø¤ÎÄɵ­¤Ë¤¢¤¿¤ë¤â¤Î¤Ç¤¢¤ë¡£
78
79 ¥¹¥ì¥Ã¥É¤¬
80 .I "init_routine"
81 ¤ò¼Â¹ÔÃæ¤Ë¼è¤ê¾Ã¤·¤µ¤ì¤¿¾ì¹ç¡¢
82 .I "once_control"
83 ¤Ï¥ê¥»¥Ã¥È¤µ¤ì¡¢¾­Íè
84 .B "pthread_once"
85 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¤È¤­½é´ü²½¥ë¡¼¥Á¥ó¤ÏºÆ¤Ó¼Â¹Ô¤µ¤ì¤ë¡£
86
87 1 ¤Ä¤Þ¤¿¤ÏÊ£¿ô¤Î¥¹¥ì¥Ã¥É¤¬
88 .B "pthread_once"
89 ¤Î½é´ü²½¥ë¡¼¥Á¥ó¤ò¼Â¹ÔÃæ¤Ë
90 ¥×¥í¥»¥¹¤¬ fork ¤·¤¿¤È¤­¤Ë¤Ï¡¢
91 »Ò¥×¥í¥»¥¹¤Ç¤Ï¤½¤ì¤¾¤ì¤Î
92 .I "once_control"
93 ÊÑ¿ô¤Ï¥ê¥»¥Ã¥È¤µ¤ì¤¿¤è¤¦¤Ë¸«¤¨¡¢
94 »Ò¥×¥í¥»¥¹¤Ç
95 .B "pthread_once"
96 ¤¬¸Æ¤Ó½Ð¤µ¤ì¤¿¤È¤­½é´ü²½¥ë¡¼¥Á¥ó¤Ï¼Â¹Ô¤µ¤ì¤ë¡£