OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / release / man2 / set_tid_address.2
1 .\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" 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 this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Japanese Version Copyright (c) 2005 Yuichi SATO
24 .\"         all rights reserved.
25 .\" Translated Wed Jan 26 07:21:01 JST 2005
26 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
27 .\"
28 .TH SET_TID_ADDRESS 2 2004-09-10 "Linux" "Linux Programmer's Manual"
29 .SH Ì¾Á°
30 set_tid_address \- ¥¹¥ì¥Ã¥É ID ¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÀßÄꤹ¤ë
31 .SH ½ñ¼°
32 .nf
33 .B #include <linux/unistd.h>
34 .sp
35 .BI "long set_tid_address(int *" tidptr );
36 .fi
37 .SH ÀâÌÀ
38 ¥«¡¼¥Í¥ë¤Ï³Æ¥×¥í¥»¥¹¤Ë¤Ä¤¤¤Æ
39 .I set_child_tid
40 ¤È
41 .I clear_child_tid
42 ¤È¤¤¤¦ 2 ¤Ä¤ÎÃͤòÊÝ»ý¤¹¤ë¡£
43 ¤³¤ì¤é¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï NULL ¤Ç¤¢¤ë¡£
44 .SS set_child_tid
45 ¥×¥í¥»¥¹¤¬
46 .B CLONE_CHILD_SETTID
47 ¥Õ¥é¥°¤ò»ØÄꤷ¤¿
48 .BR clone (2)
49 ¤Ë¤è¤Ã¤Æ³«»Ï¤µ¤ì¤¿¾ì¹ç¡¢
50 .I set_child_tid
51 ¤Ï
52 .I child_tidptr
53 ¤ËÀßÄꤵ¤ì¤ë¡£
54 ¤³¤ì¤Ï
55 .BR clone (2)
56 ¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î 5 ÈÖÌܤΰú¤­¿ô¤Ç¤¢¤ë¡£
57 .LP
58 .I set_child_tid
59 ¤¬ÀßÄꤵ¤ì¤¿¾ì¹ç¡¢°ìÈֺǽé¤Ë¿·¤·¤¤¥×¥í¥»¥¹¤¬¹Ô¤¦¤³¤È¤Ï¡¢
60 ¤³¤Î¥¢¥É¥ì¥¹¤Ë¼«¿È¤Î PID ¤ò½ñ¤­¹þ¤à¤³¤È¤Ç¤¢¤ë¡£
61 .SS clear_child_tid
62 ¥×¥í¥»¥¹¤¬
63 .B CLONE_CHILD_CLEARTID
64 ¥Õ¥é¥°¤ò»ØÄꤷ¤¿
65 .BR clone (2)
66 ¤Ë¤è¤Ã¤Æ³«»Ï¤µ¤ì¤¿¾ì¹ç¡¢
67 .I clear_child_tid
68 ¤Ï
69 .I child_tidptr
70 ¤ËÀßÄꤵ¤ì¤ë¡£
71 ¤³¤ì¤Ï
72 .BR clone (2)
73 ¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î 5 ÈÖÌܤΰú¤­¿ô¤Ç¤¢¤ë¡£
74 .LP
75 ¥·¥¹¥Æ¥à¥³¡¼¥ë
76 .BR set_tid_address ()
77 ¤Ï¸Æ¤Ó½Ð¤·¸µ¥×¥í¥»¥¹¤Î
78 .I clear_child_tid
79 ¤ÎÃͤò
80 .I tidptr
81 ¤ËÀßÄꤹ¤ë¡£
82 .LP
83 .I clear_child_tid
84 ¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤È¤­¤Ë¥×¥í¥»¥¹¤¬½ªÎ»¤¹¤ë¤È¡¢
85 ¤½¤Î¥×¥í¥»¥¹¤Ï¾¤Î¥×¥í¥»¥¹¤Þ¤¿¤Ï¥¹¥ì¥Ã¥É¤È¥á¥â¥ê¤ò¶¦Í­¤·¤Æ¤¤¤ë¤Î¤Ç¡¢
86 ¤³¤Î¥¢¥É¥ì¥¹¤Ë 0 ¤¬½ñ¤­¹þ¤Þ¤ì¡¢
87 .I futex(child_tidptr, FUTEX_WAKE, 1, NULL, NULL, 0);
88 ¤Î¸Æ¤Ó½Ð¤·¤¬¼Â¹Ô¤µ¤ì¤ë
89 (¤Ä¤Þ¤ê¡¢¤³¤Î futex ¤ÇÂԤäƤ¤¤ë 1 ¤Ä¤Î¥×¥í¥»¥¹¤òµ¯¤³¤¹ (wake))¡£
90 ¥¨¥é¡¼¤Ï̵»ë¤µ¤ì¤ë¡£
91 .SH ÊÖ¤êÃÍ
92 .BR set_tid_address ()
93 ¤Ï¾ï¤Ë¸½ºß¤Î¥×¥í¥»¥¹¤Î PID ¤òÊÖ¤¹¡£
94 .SH ¥¨¥é¡¼
95 .BR set_tid_address ()
96 ¤Ï¾ï¤ËÀ®¸ù¤¹¤ë¡£
97 .SH ¥Ð¡¼¥¸¥ç¥ó
98 ¤³¤Î¸Æ¤Ó½Ð¤·¤Ï Linux 2.5.48 °Ê¹ß¤Ç¸ºß¤¹¤ë¡£
99 ¤³¤³¤Ç½ñ¤«¤ì¤¿¾ÜºÙ¤Ï Linux 2.5.49 °Ê¹ß¤ÇÍ­¸ú¤Ç¤¢¤ë¡£
100 .SH ½àµò
101 ¤³¤Î¥·¥¹¥Æ¥à¥³¡¼¥ë¤Ï Linux Æȼ«¤Ç¤¢¤ë¡£
102 .SH ´ØÏ¢¹àÌÜ
103 .BR clone (2),
104 .BR futex (2)