msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-03-22 01:06+0900\n"
-"PO-Revision-Date: 2012-06-04 23:34+0900\n"
+"POT-Creation-Date: 2014-04-24 00:51+0900\n"
+"PO-Revision-Date: 2014-04-17 23:40+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
#. type: TH
#: build/C/man3/getcontext.3:25
-#, no-wrap
-msgid "2009-03-15"
-msgstr "2009-03-15"
+#, fuzzy, no-wrap
+#| msgid "2014-02-04"
+msgid "2014-04-08"
+msgstr "2014-02-04"
#. type: TH
#: build/C/man3/getcontext.3:25 build/C/man3/pthread_attr_init.3:26
#: build/C/man3/pthread_equal.3:37 build/C/man3/pthread_exit.3:37
#: build/C/man3/pthread_getattr_np.3:38
#: build/C/man3/pthread_getcpuclockid.3:38 build/C/man3/pthread_join.3:37
-#: build/C/man3/pthread_kill.3:37
+#: build/C/man3/pthread_kill.3:49
#: build/C/man3/pthread_kill_other_threads_np.3:35
#: build/C/man3/pthread_self.3:37 build/C/man3/pthread_setaffinity_np.3:42
#: build/C/man3/pthread_setcancelstate.3:39
#: build/C/man3/pthread_setconcurrency.3:38
#: build/C/man3/pthread_setname_np.3:39
#: build/C/man3/pthread_setschedparam.3:41
-#: build/C/man3/pthread_setschedprio.3:37 build/C/man3/pthread_sigmask.3:38
+#: build/C/man3/pthread_setschedprio.3:37 build/C/man3/pthread_sigmask.3:50
#: build/C/man3/pthread_sigqueue.3:45 build/C/man3/pthread_testcancel.3:37
#: build/C/man3/pthread_tryjoin_np.3:42 build/C/man3/pthread_yield.3:37
#: build/C/man7/pthreads.7:29
msgstr "説明"
#. type: Plain text
-#: build/C/man3/getcontext.3:46
+#: build/C/man3/getcontext.3:49
msgid ""
"In a System V-like environment, one has the two types I<mcontext_t> and "
"I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
"ようになっている。"
#. type: Plain text
-#: build/C/man3/getcontext.3:50
+#: build/C/man3/getcontext.3:57
msgid ""
"The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
"type is a structure that has at least the following fields:"
"構造体で、少なくとも以下の 4 つのフィールドを持つ。"
#. type: Plain text
-#: build/C/man3/getcontext.3:60
+#: build/C/man3/getcontext.3:67
#, no-wrap
msgid ""
"typedef struct ucontext {\n"
"} ucontext_t;\n"
#. type: Plain text
-#: build/C/man3/getcontext.3:77
+#: build/C/man3/getcontext.3:94
msgid ""
"with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
"I<uc_link> points to the context that will be resumed when the current "
"ンレジスタが格納される。"
#. type: Plain text
-#: build/C/man3/getcontext.3:82
+#: build/C/man3/getcontext.3:101
msgid ""
"The function B<getcontext>() initializes the structure pointed at by I<ucp> "
"to the currently active context."
"ンテキストに初期化する。"
#. type: Plain text
-#: build/C/man3/getcontext.3:94
+#: build/C/man3/getcontext.3:114
msgid ""
"The function B<setcontext>() restores the user context pointed at by "
"I<ucp>. A successful call does not return. The context should have been "
"して与えられたものになる。"
#. type: Plain text
-#: build/C/man3/getcontext.3:98
+#: build/C/man3/getcontext.3:118
msgid ""
"If the context was obtained by a call of B<getcontext>(), program execution "
"continues as if this call just returned."
"プログラムはこの呼び出しから返った直後からのように実行を継続する。"
#. type: Plain text
-#: build/C/man3/getcontext.3:109
+#: build/C/man3/getcontext.3:135
msgid ""
"If the context was obtained by a call of B<makecontext>(3), program "
"execution continues by a call to the function I<func> specified as the "
"続する。 このメンバが NULL だった場合は、そのスレッドは終了する。"
#. type: Plain text
-#: build/C/man3/getcontext.3:116
+#: build/C/man3/getcontext.3:142
msgid ""
"If the context was obtained by a call to a signal handler, then old standard "
"text says that \"program execution continues with the program instruction "
"は定義されていない」である。"
#. type: SH
-#: build/C/man3/getcontext.3:116 build/C/man3/makecontext.3:84
+#: build/C/man3/getcontext.3:142 build/C/man3/makecontext.3:84
#: build/C/man3/pthread_attr_init.3:68
#: build/C/man3/pthread_attr_setaffinity_np.3:76
#: build/C/man3/pthread_attr_setdetachstate.3:77
#: build/C/man3/pthread_attr_setguardsize.3:90
-#: build/C/man3/pthread_attr_setinheritsched.3:84
-#: build/C/man3/pthread_attr_setschedparam.3:74
-#: build/C/man3/pthread_attr_setschedpolicy.3:72
-#: build/C/man3/pthread_attr_setscope.3:91
+#: build/C/man3/pthread_attr_setinheritsched.3:93
+#: build/C/man3/pthread_attr_setschedparam.3:85
+#: build/C/man3/pthread_attr_setschedpolicy.3:83
+#: build/C/man3/pthread_attr_setscope.3:103
#: build/C/man3/pthread_attr_setstack.3:85
#: build/C/man3/pthread_attr_setstackaddr.3:74
#: build/C/man3/pthread_attr_setstacksize.3:61
-#: build/C/man3/pthread_cancel.3:109 build/C/man3/pthread_cleanup_push.3:119
+#: build/C/man3/pthread_cancel.3:112 build/C/man3/pthread_cleanup_push.3:121
#: build/C/man3/pthread_create.3:115 build/C/man3/pthread_detach.3:49
#: build/C/man3/pthread_equal.3:41 build/C/man3/pthread_exit.3:71
#: build/C/man3/pthread_getattr_np.3:73
#: build/C/man3/pthread_getcpuclockid.3:46 build/C/man3/pthread_join.3:70
-#: build/C/man3/pthread_kill.3:52 build/C/man3/pthread_self.3:46
+#: build/C/man3/pthread_kill.3:63 build/C/man3/pthread_self.3:46
#: build/C/man3/pthread_setaffinity_np.3:77
#: build/C/man3/pthread_setcancelstate.3:92
#: build/C/man3/pthread_setconcurrency.3:56
#: build/C/man3/pthread_setname_np.3:72
#: build/C/man3/pthread_setschedparam.3:104
-#: build/C/man3/pthread_setschedprio.3:53 build/C/man3/pthread_sigmask.3:49
+#: build/C/man3/pthread_setschedprio.3:53 build/C/man3/pthread_sigmask.3:61
#: build/C/man3/pthread_sigqueue.3:65 build/C/man3/pthread_testcancel.3:50
#: build/C/man3/pthread_tryjoin_np.3:85 build/C/man3/pthread_yield.3:44
#, no-wrap
msgstr "返り値"
#. type: Plain text
-#: build/C/man3/getcontext.3:124
+#: build/C/man3/getcontext.3:151
msgid ""
"When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
"return. On error, both return -1 and set I<errno> appropriately."
"敗すると、両者とも -1 を返し、I<errno> をエラーに応じて設定する。"
#. type: SH
-#: build/C/man3/getcontext.3:124 build/C/man3/makecontext.3:96
+#: build/C/man3/getcontext.3:151 build/C/man3/makecontext.3:96
#: build/C/man3/pthread_attr_init.3:71
#: build/C/man3/pthread_attr_setaffinity_np.3:79
#: build/C/man3/pthread_attr_setdetachstate.3:80
#: build/C/man3/pthread_attr_setguardsize.3:93
-#: build/C/man3/pthread_attr_setinheritsched.3:87
-#: build/C/man3/pthread_attr_setschedparam.3:77
-#: build/C/man3/pthread_attr_setschedpolicy.3:75
-#: build/C/man3/pthread_attr_setscope.3:94
+#: build/C/man3/pthread_attr_setinheritsched.3:96
+#: build/C/man3/pthread_attr_setschedparam.3:88
+#: build/C/man3/pthread_attr_setschedpolicy.3:86
+#: build/C/man3/pthread_attr_setscope.3:106
#: build/C/man3/pthread_attr_setstack.3:88
#: build/C/man3/pthread_attr_setstackaddr.3:77
#: build/C/man3/pthread_attr_setstacksize.3:64
-#: build/C/man3/pthread_cancel.3:114 build/C/man3/pthread_cleanup_push.3:121
+#: build/C/man3/pthread_cancel.3:117 build/C/man3/pthread_cleanup_push.3:123
#: build/C/man3/pthread_create.3:122 build/C/man3/pthread_detach.3:54
#: build/C/man3/pthread_equal.3:45 build/C/man3/pthread_exit.3:73
#: build/C/man3/pthread_getattr_np.3:76
#: build/C/man3/pthread_getcpuclockid.3:49 build/C/man3/pthread_join.3:75
-#: build/C/man3/pthread_kill.3:57 build/C/man3/pthread_self.3:48
+#: build/C/man3/pthread_kill.3:68 build/C/man3/pthread_self.3:48
#: build/C/man3/pthread_setaffinity_np.3:80
#: build/C/man3/pthread_setcancelstate.3:95
#: build/C/man3/pthread_setconcurrency.3:68
#: build/C/man3/pthread_setname_np.3:75
#: build/C/man3/pthread_setschedparam.3:112
-#: build/C/man3/pthread_setschedprio.3:61 build/C/man3/pthread_sigmask.3:54
+#: build/C/man3/pthread_setschedprio.3:61 build/C/man3/pthread_sigmask.3:66
#: build/C/man3/pthread_sigqueue.3:70 build/C/man3/pthread_testcancel.3:54
#: build/C/man3/pthread_tryjoin_np.3:89 build/C/man3/pthread_yield.3:49
#, no-wrap
msgstr "エラー"
#. type: Plain text
-#: build/C/man3/getcontext.3:126
+#: build/C/man3/getcontext.3:153
msgid "None defined."
msgstr "定義されていない。"
#. type: SH
-#: build/C/man3/getcontext.3:126 build/C/man3/makecontext.3:105
-#: build/C/man3/pthread_attr_init.3:79
-#: build/C/man3/pthread_attr_setaffinity_np.3:108
+#: build/C/man3/getcontext.3:153 build/C/man3/makecontext.3:105
#: build/C/man3/pthread_attr_setdetachstate.3:87
#: build/C/man3/pthread_attr_setguardsize.3:106
-#: build/C/man3/pthread_attr_setinheritsched.3:101
-#: build/C/man3/pthread_attr_setschedparam.3:89
-#: build/C/man3/pthread_attr_setschedpolicy.3:89
-#: build/C/man3/pthread_attr_setscope.3:107
+#, no-wrap
+msgid "ATTRIBUTES"
+msgstr ""
+
+#. type: SS
+#: build/C/man3/getcontext.3:154 build/C/man3/makecontext.3:106
+#: build/C/man3/pthread_attr_setdetachstate.3:88
+#: build/C/man3/pthread_attr_setguardsize.3:107
+#, no-wrap
+msgid "Multithreading (see pthreads(7))"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/getcontext.3:160
+msgid "The B<getcontext>() and B<setcontext>() functions are thread-safe."
+msgstr ""
+
+#. type: SH
+#: build/C/man3/getcontext.3:160 build/C/man3/makecontext.3:112
+#: build/C/man3/pthread_attr_init.3:79
+#: build/C/man3/pthread_attr_setaffinity_np.3:108
+#: build/C/man3/pthread_attr_setdetachstate.3:94
+#: build/C/man3/pthread_attr_setguardsize.3:113
+#: build/C/man3/pthread_attr_setinheritsched.3:110
+#: build/C/man3/pthread_attr_setschedparam.3:100
+#: build/C/man3/pthread_attr_setschedpolicy.3:100
+#: build/C/man3/pthread_attr_setscope.3:119
#: build/C/man3/pthread_attr_setstack.3:112
#: build/C/man3/pthread_attr_setstackaddr.3:83
#: build/C/man3/pthread_attr_setstacksize.3:83
-#: build/C/man3/pthread_cancel.3:122 build/C/man3/pthread_cleanup_push.3:125
+#: build/C/man3/pthread_cancel.3:125 build/C/man3/pthread_cleanup_push.3:127
#: build/C/man3/pthread_cleanup_push_defer_np.3:101
#: build/C/man3/pthread_create.3:146 build/C/man3/pthread_detach.3:64
#: build/C/man3/pthread_equal.3:47 build/C/man3/pthread_exit.3:75
#: build/C/man3/pthread_getattr_np.3:98
#: build/C/man3/pthread_getcpuclockid.3:65 build/C/man3/pthread_join.3:98
-#: build/C/man3/pthread_kill.3:66
+#: build/C/man3/pthread_kill.3:72
#: build/C/man3/pthread_kill_other_threads_np.3:47
#: build/C/man3/pthread_self.3:50 build/C/man3/pthread_setaffinity_np.3:121
#: build/C/man3/pthread_setcancelstate.3:113
#: build/C/man3/pthread_setconcurrency.3:83
#: build/C/man3/pthread_setname_np.3:102
#: build/C/man3/pthread_setschedparam.3:141
-#: build/C/man3/pthread_setschedprio.3:83 build/C/man3/pthread_sigmask.3:57
+#: build/C/man3/pthread_setschedprio.3:83 build/C/man3/pthread_sigmask.3:69
#: build/C/man3/pthread_sigqueue.3:93 build/C/man3/pthread_testcancel.3:58
#: build/C/man3/pthread_tryjoin_np.3:112 build/C/man3/pthread_yield.3:53
#, no-wrap
msgstr "準拠"
#. type: Plain text
-#: build/C/man3/getcontext.3:132
+#: build/C/man3/getcontext.3:166
msgid ""
"SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specification of B<getcontext>"
"(), citing portability issues, and recommending that applications be "
"すことが 推奨されている。"
#. type: SH
-#: build/C/man3/getcontext.3:132 build/C/man3/makecontext.3:113
+#: build/C/man3/getcontext.3:166 build/C/man3/makecontext.3:120
#: build/C/man3/pthread_attr_init.3:81
#: build/C/man3/pthread_attr_setaffinity_np.3:111
-#: build/C/man3/pthread_attr_setdetachstate.3:89
-#: build/C/man3/pthread_attr_setguardsize.3:108
-#: build/C/man3/pthread_attr_setschedparam.3:91
-#: build/C/man3/pthread_attr_setscope.3:109
+#: build/C/man3/pthread_attr_setdetachstate.3:96
+#: build/C/man3/pthread_attr_setguardsize.3:115
+#: build/C/man3/pthread_attr_setschedparam.3:102
+#: build/C/man3/pthread_attr_setscope.3:121
#: build/C/man3/pthread_attr_setstack.3:114
#: build/C/man3/pthread_attr_setstackaddr.3:86
#: build/C/man3/pthread_attr_setstacksize.3:85
-#: build/C/man3/pthread_cancel.3:124 build/C/man3/pthread_cleanup_push.3:127
+#: build/C/man3/pthread_cancel.3:127 build/C/man3/pthread_cleanup_push.3:129
#: build/C/man3/pthread_create.3:148 build/C/man3/pthread_detach.3:66
#: build/C/man3/pthread_equal.3:49 build/C/man3/pthread_exit.3:77
#: build/C/man3/pthread_getcpuclockid.3:67 build/C/man3/pthread_join.3:100
-#: build/C/man3/pthread_kill.3:68
+#: build/C/man3/pthread_kill.3:74
#: build/C/man3/pthread_kill_other_threads_np.3:50
#: build/C/man3/pthread_self.3:52 build/C/man3/pthread_setaffinity_np.3:124
#: build/C/man3/pthread_setcancelstate.3:115
#: build/C/man3/pthread_setconcurrency.3:85
#: build/C/man3/pthread_setname_np.3:104
#: build/C/man3/pthread_setschedparam.3:143
-#: build/C/man3/pthread_setschedprio.3:85 build/C/man3/pthread_sigmask.3:59
+#: build/C/man3/pthread_setschedprio.3:85 build/C/man3/pthread_sigmask.3:71
#: build/C/man3/pthread_yield.3:59
#, no-wrap
msgid "NOTES"
msgstr "注意"
#. type: Plain text
-#: build/C/man3/getcontext.3:149
+#: build/C/man3/getcontext.3:183
msgid ""
"The earliest incarnation of this mechanism was the B<setjmp>(3)/B<longjmp>"
"(3) mechanism. Since that does not define the handling of the signal "
"くれない。"
#. type: Plain text
-#: build/C/man3/getcontext.3:160
+#: build/C/man3/getcontext.3:194
msgid ""
"When a signal occurs, the current user context is saved and a new context is "
"created by the kernel for the signal handler. Do not leave the handler "
"代わりに B<siglongjmp>(3) か B<setcontext>() を使うこと。"
#. type: SH
-#: build/C/man3/getcontext.3:160 build/C/man3/makecontext.3:220
+#: build/C/man3/getcontext.3:194 build/C/man3/makecontext.3:227
#: build/C/man3/pthread_attr_init.3:297
#: build/C/man3/pthread_attr_setaffinity_np.3:118
-#: build/C/man3/pthread_attr_setdetachstate.3:111
-#: build/C/man3/pthread_attr_setguardsize.3:158
-#: build/C/man3/pthread_attr_setinheritsched.3:122
-#: build/C/man3/pthread_attr_setschedparam.3:98
-#: build/C/man3/pthread_attr_setschedpolicy.3:94
-#: build/C/man3/pthread_attr_setscope.3:120
-#: build/C/man3/pthread_attr_setstack.3:156
+#: build/C/man3/pthread_attr_setdetachstate.3:118
+#: build/C/man3/pthread_attr_setguardsize.3:165
+#: build/C/man3/pthread_attr_setinheritsched.3:131
+#: build/C/man3/pthread_attr_setschedparam.3:109
+#: build/C/man3/pthread_attr_setschedpolicy.3:105
+#: build/C/man3/pthread_attr_setscope.3:132
+#: build/C/man3/pthread_attr_setstack.3:155
#: build/C/man3/pthread_attr_setstackaddr.3:110
#: build/C/man3/pthread_attr_setstacksize.3:111
-#: build/C/man3/pthread_cancel.3:223 build/C/man3/pthread_cleanup_push.3:311
+#: build/C/man3/pthread_cancel.3:226 build/C/man3/pthread_cleanup_push.3:315
#: build/C/man3/pthread_cleanup_push_defer_np.3:104
#: build/C/man3/pthread_create.3:369 build/C/man3/pthread_detach.3:97
#: build/C/man3/pthread_equal.3:56 build/C/man3/pthread_exit.3:105
#: build/C/man3/pthread_getattr_np.3:345
-#: build/C/man3/pthread_getcpuclockid.3:169 build/C/man3/pthread_join.3:127
-#: build/C/man3/pthread_kill.3:75
+#: build/C/man3/pthread_getcpuclockid.3:170 build/C/man3/pthread_join.3:127
+#: build/C/man3/pthread_kill.3:94
#: build/C/man3/pthread_kill_other_threads_np.3:66
#: build/C/man3/pthread_self.3:76 build/C/man3/pthread_setaffinity_np.3:206
#: build/C/man3/pthread_setcancelstate.3:177
#: build/C/man3/pthread_setconcurrency.3:100
-#: build/C/man3/pthread_setname_np.3:198
+#: build/C/man3/pthread_setname_np.3:200
#: build/C/man3/pthread_setschedparam.3:431
-#: build/C/man3/pthread_setschedprio.3:91 build/C/man3/pthread_sigmask.3:135
+#: build/C/man3/pthread_setschedprio.3:91 build/C/man3/pthread_sigmask.3:147
#: build/C/man3/pthread_sigqueue.3:95 build/C/man3/pthread_testcancel.3:63
#: build/C/man3/pthread_tryjoin_np.3:135 build/C/man3/pthread_yield.3:62
#: build/C/man7/pthreads.7:895
msgstr "関連項目"
#. type: Plain text
-#: build/C/man3/getcontext.3:167
+#: build/C/man3/getcontext.3:201
msgid ""
"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
"B<makecontext>(3), B<sigsetjmp>(3)"
"B<makecontext>(3), B<sigsetjmp>(3)"
#. type: SH
-#: build/C/man3/getcontext.3:167 build/C/man3/makecontext.3:226
+#: build/C/man3/getcontext.3:201 build/C/man3/makecontext.3:233
#: build/C/man3/pthread_attr_init.3:313
#: build/C/man3/pthread_attr_setaffinity_np.3:124
-#: build/C/man3/pthread_attr_setdetachstate.3:117
-#: build/C/man3/pthread_attr_setguardsize.3:166
-#: build/C/man3/pthread_attr_setinheritsched.3:133
-#: build/C/man3/pthread_attr_setschedparam.3:110
-#: build/C/man3/pthread_attr_setschedpolicy.3:105
-#: build/C/man3/pthread_attr_setscope.3:130
-#: build/C/man3/pthread_attr_setstack.3:168
+#: build/C/man3/pthread_attr_setdetachstate.3:124
+#: build/C/man3/pthread_attr_setguardsize.3:173
+#: build/C/man3/pthread_attr_setinheritsched.3:143
+#: build/C/man3/pthread_attr_setschedparam.3:121
+#: build/C/man3/pthread_attr_setschedpolicy.3:116
+#: build/C/man3/pthread_attr_setscope.3:142
+#: build/C/man3/pthread_attr_setstack.3:167
#: build/C/man3/pthread_attr_setstackaddr.3:116
#: build/C/man3/pthread_attr_setstacksize.3:118
-#: build/C/man3/pthread_cancel.3:235 build/C/man3/pthread_cleanup_push.3:317
+#: build/C/man3/pthread_cancel.3:238 build/C/man3/pthread_cleanup_push.3:321
#: build/C/man3/pthread_cleanup_push_defer_np.3:110
#: build/C/man3/pthread_create.3:382 build/C/man3/pthread_detach.3:104
#: build/C/man3/pthread_equal.3:60 build/C/man3/pthread_exit.3:109
#: build/C/man3/pthread_getattr_np.3:361
-#: build/C/man3/pthread_getcpuclockid.3:177 build/C/man3/pthread_join.3:134
-#: build/C/man3/pthread_kill.3:84
+#: build/C/man3/pthread_getcpuclockid.3:178 build/C/man3/pthread_join.3:134
+#: build/C/man3/pthread_kill.3:103
#: build/C/man3/pthread_kill_other_threads_np.3:72
#: build/C/man3/pthread_self.3:80 build/C/man3/pthread_setaffinity_np.3:214
#: build/C/man3/pthread_setcancelstate.3:182
#: build/C/man3/pthread_setconcurrency.3:103
-#: build/C/man3/pthread_setname_np.3:204
+#: build/C/man3/pthread_setname_np.3:206
#: build/C/man3/pthread_setschedparam.3:445
-#: build/C/man3/pthread_setschedprio.3:105 build/C/man3/pthread_sigmask.3:144
+#: build/C/man3/pthread_setschedprio.3:105 build/C/man3/pthread_sigmask.3:156
#: build/C/man3/pthread_sigqueue.3:103 build/C/man3/pthread_testcancel.3:68
#: build/C/man3/pthread_tryjoin_np.3:140 build/C/man3/pthread_yield.3:66
#: build/C/man7/pthreads.7:929
msgstr "この文書について"
#. type: Plain text
-#: build/C/man3/getcontext.3:174 build/C/man3/makecontext.3:233
+#: build/C/man3/getcontext.3:208 build/C/man3/makecontext.3:240
#: build/C/man3/pthread_attr_init.3:320
#: build/C/man3/pthread_attr_setaffinity_np.3:131
-#: build/C/man3/pthread_attr_setdetachstate.3:124
-#: build/C/man3/pthread_attr_setguardsize.3:173
-#: build/C/man3/pthread_attr_setinheritsched.3:140
-#: build/C/man3/pthread_attr_setschedparam.3:117
-#: build/C/man3/pthread_attr_setschedpolicy.3:112
-#: build/C/man3/pthread_attr_setscope.3:137
-#: build/C/man3/pthread_attr_setstack.3:175
+#: build/C/man3/pthread_attr_setdetachstate.3:131
+#: build/C/man3/pthread_attr_setguardsize.3:180
+#: build/C/man3/pthread_attr_setinheritsched.3:150
+#: build/C/man3/pthread_attr_setschedparam.3:128
+#: build/C/man3/pthread_attr_setschedpolicy.3:123
+#: build/C/man3/pthread_attr_setscope.3:149
+#: build/C/man3/pthread_attr_setstack.3:174
#: build/C/man3/pthread_attr_setstackaddr.3:123
#: build/C/man3/pthread_attr_setstacksize.3:125
-#: build/C/man3/pthread_cancel.3:242 build/C/man3/pthread_cleanup_push.3:324
+#: build/C/man3/pthread_cancel.3:245 build/C/man3/pthread_cleanup_push.3:328
#: build/C/man3/pthread_cleanup_push_defer_np.3:117
#: build/C/man3/pthread_create.3:389 build/C/man3/pthread_detach.3:111
#: build/C/man3/pthread_equal.3:67 build/C/man3/pthread_exit.3:116
#: build/C/man3/pthread_getattr_np.3:368
-#: build/C/man3/pthread_getcpuclockid.3:184 build/C/man3/pthread_join.3:141
-#: build/C/man3/pthread_kill.3:91
+#: build/C/man3/pthread_getcpuclockid.3:185 build/C/man3/pthread_join.3:141
+#: build/C/man3/pthread_kill.3:110
#: build/C/man3/pthread_kill_other_threads_np.3:79
#: build/C/man3/pthread_self.3:87 build/C/man3/pthread_setaffinity_np.3:221
#: build/C/man3/pthread_setcancelstate.3:189
#: build/C/man3/pthread_setconcurrency.3:110
-#: build/C/man3/pthread_setname_np.3:211
+#: build/C/man3/pthread_setname_np.3:213
#: build/C/man3/pthread_setschedparam.3:452
-#: build/C/man3/pthread_setschedprio.3:112 build/C/man3/pthread_sigmask.3:151
+#: build/C/man3/pthread_setschedprio.3:112 build/C/man3/pthread_sigmask.3:163
#: build/C/man3/pthread_sigqueue.3:110 build/C/man3/pthread_testcancel.3:75
#: build/C/man3/pthread_tryjoin_np.3:147 build/C/man3/pthread_yield.3:73
#: build/C/man7/pthreads.7:936
#, fuzzy
#| msgid ""
-#| "This page is part of release 3.41 of the Linux I<man-pages> project. A "
+#| "This page is part of release 3.64 of the Linux I<man-pages> project. A "
#| "description of the project, and information about reporting bugs, can be "
-#| "found at http://www.kernel.org/doc/man-pages/."
+#| "found at \\%http://www.kernel.org/doc/man-pages/."
msgid ""
-"This page is part of release 3.50 of the Linux I<man-pages> project. A "
+"This page is part of release 3.65 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://www.kernel.org/doc/man-pages/."
+"found at \\%http://www.kernel.org/doc/man-pages/."
msgstr ""
-"この man ページは Linux I<man-pages> プロジェクトのリリース 3.41 の一部\n"
+"この man ページは Linux I<man-pages> プロジェクトのリリース 3.64 の一部\n"
"である。プロジェクトの説明とバグ報告に関する情報は\n"
"http://www.kernel.org/doc/man-pages/ に書かれている。"
msgstr "MAKECONTEXT"
#. type: TH
-#: build/C/man3/makecontext.3:28
+#: build/C/man3/makecontext.3:28 build/C/man3/pthread_attr_setdetachstate.3:26
+#: build/C/man3/pthread_attr_setguardsize.3:26
#, fuzzy, no-wrap
-#| msgid "2010-02-03"
-msgid "2013-02-12"
-msgstr "2010-02-03"
+#| msgid "2012-04-14"
+msgid "2014-04-14"
+msgstr "2012-04-14"
#. type: TH
#: build/C/man3/makecontext.3:28
#. type: Plain text
#: build/C/man3/makecontext.3:49
-#, fuzzy
-#| msgid ""
-#| "In a System V-like environment, one has the type I<ucontext_t> defined in "
-#| "I<E<lt>ucontext.hE<gt>> and the four functions B<getcontext>(2), "
-#| "B<setcontext>(2), B<makecontext>() and B<swapcontext>() that allow user-"
-#| "level context switching between multiple threads of control within a "
-#| "process."
msgid ""
"In a System V-like environment, one has the type I<ucontext_t> defined in "
"I<E<lt>ucontext.hE<gt>> and the four functions B<getcontext>(3), "
"level context switching between multiple threads of control within a process."
msgstr ""
"System V 的な環境では、 B<mcontext_t> および B<ucontext_t> という 2 つの型"
-"と、 B<getcontext>(2), B<setcontext>(2), B<makecontext>(), B<swapcontext>() "
+"と、 B<getcontext>(3), B<setcontext>(3), B<makecontext>(), B<swapcontext>() "
"という 4 つの関数が I<E<lt>ucontext.hE<gt>> で定義されており、あるプロセス内"
"部で制御下にある複数のスレッド間で、 ユーザレベルのコンテキスト切替えができる"
"ようになっている。"
#. type: Plain text
#: build/C/man3/makecontext.3:52
-#, fuzzy
-#| msgid "For the type and the first two functions, see B<getcontext>(2)."
msgid "For the type and the first two functions, see B<getcontext>(3)."
msgstr ""
-"これらの型と、最初の 2 つの関数については、 B<getcontext>(2) を参照のこと。"
+"これらの型と、最初の 2 つの関数については、 B<getcontext>(3) を参照のこと。"
#. type: Plain text
#: build/C/man3/makecontext.3:64
-#, fuzzy
-#| msgid ""
-#| "The B<makecontext>() function modifies the context pointed to by I<ucp> "
-#| "(which was obtained from a call to B<getcontext>(2)). Before invoking "
-#| "B<makecontext>(), the caller must allocate a new stack for this context "
-#| "and assign its address to I<ucp-E<gt>uc_stack>, and define a successor "
-#| "context and assign its address to I<ucp-E<gt>uc_link>."
msgid ""
"The B<makecontext>() function modifies the context pointed to by I<ucp> "
"(which was obtained from a call to B<getcontext>(3)). Before invoking "
"and assign its address to I<ucp-E<gt>uc_link>."
msgstr ""
"B<makecontext>() 関数は、ポインタ I<ucp> が指すコンテキストを変更する "
-"(I<ucp> は以前の B<getcontext>(2) 呼び出しで得られたものである)。 "
+"(I<ucp> は以前の B<getcontext>(3) 呼び出しで得られたものである)。 "
"B<makecontext>() を起動する前には、呼び出し者は、このコンテキスト用に 新しい"
"スタックを確保し、そのアドレスを I<ucp-E<gt>uc_stack> に代入し、 さらに後継の"
"コンテキストを定義し、そのアドレスを I<ucp-E<gt>uc_link> に 代入しなければな"
#. type: Plain text
#: build/C/man3/makecontext.3:78
-#, fuzzy
-#| msgid ""
-#| "When this context is later activated (using B<setcontext>(2) or "
-#| "B<swapcontext>()) the function I<func> is called, and passed the series "
-#| "of integer (I<int>) arguments that follow I<argc>; the caller must "
-#| "specify the number of these arguments in I<argc>. When this function "
-#| "returns, the successor context is activated. If the successor context "
-#| "pointer is NULL, the thread exits."
msgid ""
"When this context is later activated (using B<setcontext>(3) or "
"B<swapcontext>()) the function I<func> is called, and passed the series of "
"successor context is activated. If the successor context pointer is NULL, "
"the thread exits."
msgstr ""
-"このコンテキストが将来 (B<setcontext>(2) または B<swapcontext>() によっ"
+"このコンテキストが将来 (B<setcontext>(3) または B<swapcontext>() によっ"
"て) 有効にされると、関数 I<func> が呼ばれ、 引き数として I<argc> 以降の整数 "
"(I<int>) 引き数の列が渡される。 呼び出し者は I<argc> にこれらの引き数の個数"
"を指定しなければならない。 この関数が戻ると、後継のコンテキストが有効にな"
"されている。"
#. type: Plain text
-#: build/C/man3/makecontext.3:113
+#: build/C/man3/makecontext.3:112
+#, fuzzy
+#| msgid ""
+#| "B<makecontext>() and B<swapcontext>() are provided in glibc since "
+#| "version 2.1."
+msgid "The B<makecontext>() and B<swapcontext>() functions are thread-safe."
+msgstr ""
+"B<makecontext>() と B<swapcontext>() は、バージョン 2.1 以降の glibc で提供"
+"されている。"
+
+#. type: Plain text
+#: build/C/man3/makecontext.3:120
msgid ""
"SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specifications of "
"B<makecontext>() and B<swapcontext>(), citing portability issues, and "
"POSIX スレッドを使って書き直すことが 推奨されている。"
#. type: Plain text
-#: build/C/man3/makecontext.3:121
+#: build/C/man3/makecontext.3:128
msgid ""
"The interpretation of I<ucp-E<gt>uc_stack> is just as in B<sigaltstack>(2), "
"namely, this struct contains the start and length of a memory area to be "
"て、ユーザプログラムはこの件については心配しなくてよい。"
#. type: Plain text
-#: build/C/man3/makecontext.3:137
+#: build/C/man3/makecontext.3:144
msgid ""
"On architectures where I<int> and pointer types are the same size (e.g., "
"x86-32, where both types are 32 bits), you may be able to get away with "
"できるようになっている。"
#. type: SH
-#: build/C/man3/makecontext.3:137 build/C/man3/pthread_attr_init.3:87
-#: build/C/man3/pthread_attr_setdetachstate.3:108
-#: build/C/man3/pthread_attr_setguardsize.3:155
-#: build/C/man3/pthread_attr_setinheritsched.3:119
-#: build/C/man3/pthread_attr_setschedparam.3:95
-#: build/C/man3/pthread_attr_setschedpolicy.3:91
-#: build/C/man3/pthread_attr_setstack.3:153
+#: build/C/man3/makecontext.3:144 build/C/man3/pthread_attr_init.3:87
+#: build/C/man3/pthread_attr_setdetachstate.3:115
+#: build/C/man3/pthread_attr_setguardsize.3:162
+#: build/C/man3/pthread_attr_setinheritsched.3:128
+#: build/C/man3/pthread_attr_setschedparam.3:106
+#: build/C/man3/pthread_attr_setschedpolicy.3:102
+#: build/C/man3/pthread_attr_setstack.3:152
#: build/C/man3/pthread_attr_setstacksize.3:108
-#: build/C/man3/pthread_cancel.3:132 build/C/man3/pthread_cleanup_push.3:151
+#: build/C/man3/pthread_cancel.3:135 build/C/man3/pthread_cleanup_push.3:155
#: build/C/man3/pthread_create.3:202 build/C/man3/pthread_detach.3:93
#: build/C/man3/pthread_getattr_np.3:101
#: build/C/man3/pthread_getcpuclockid.3:78 build/C/man3/pthread_join.3:124
#: build/C/man3/pthread_setaffinity_np.3:154
#: build/C/man3/pthread_setcancelstate.3:174
-#: build/C/man3/pthread_setname_np.3:112
-#: build/C/man3/pthread_setschedparam.3:149 build/C/man3/pthread_sigmask.3:61
+#: build/C/man3/pthread_setname_np.3:114
+#: build/C/man3/pthread_setschedparam.3:149 build/C/man3/pthread_sigmask.3:73
#: build/C/man3/pthread_testcancel.3:60 build/C/man3/pthread_tryjoin_np.3:115
#, no-wrap
msgid "EXAMPLE"
msgstr "例"
#. type: Plain text
-#: build/C/man3/makecontext.3:145
-#, fuzzy
-#| msgid ""
-#| "The example program below demonstrates the use of B<getcontext>(2), "
-#| "B<makecontext>(), and B<swapcontext>(). Running the program produces the "
-#| "following output:"
+#: build/C/man3/makecontext.3:152
msgid ""
"The example program below demonstrates the use of B<getcontext>(3), "
"B<makecontext>(), and B<swapcontext>(). Running the program produces the "
"following output:"
msgstr ""
-"以下のサンプル・プログラムは、 B<getcontext>(2), B<makecontext>(), "
+"以下のサンプル・プログラムは、 B<getcontext>(3), B<makecontext>(), "
"B<swapcontext>() の使用方法の例を示すものである。 このプログラムを実行する"
"と、以下のような出力が得られる:"
#. type: Plain text
-#: build/C/man3/makecontext.3:157
+#: build/C/man3/makecontext.3:164
#, no-wrap
msgid ""
"$B< ./a.out>\n"
"main: exiting\n"
#. type: SS
-#: build/C/man3/makecontext.3:159 build/C/man3/pthread_attr_init.3:148
-#: build/C/man3/pthread_cancel.3:148 build/C/man3/pthread_cleanup_push.3:227
+#: build/C/man3/makecontext.3:166 build/C/man3/pthread_attr_init.3:148
+#: build/C/man3/pthread_cancel.3:151 build/C/man3/pthread_cleanup_push.3:231
#: build/C/man3/pthread_create.3:241 build/C/man3/pthread_getattr_np.3:179
-#: build/C/man3/pthread_getcpuclockid.3:95
-#: build/C/man3/pthread_setname_np.3:138
-#: build/C/man3/pthread_setschedparam.3:224 build/C/man3/pthread_sigmask.3:79
+#: build/C/man3/pthread_getcpuclockid.3:96
+#: build/C/man3/pthread_setname_np.3:140
+#: build/C/man3/pthread_setschedparam.3:224 build/C/man3/pthread_sigmask.3:91
#, no-wrap
msgid "Program source"
msgstr "プログラムのソース"
#. type: Plain text
-#: build/C/man3/makecontext.3:165
+#: build/C/man3/makecontext.3:172
#, no-wrap
msgid ""
"#include E<lt>ucontext.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:167
+#: build/C/man3/makecontext.3:174
#, no-wrap
msgid "static ucontext_t uctx_main, uctx_func1, uctx_func2;\n"
msgstr "static ucontext_t uctx_main, uctx_func1, uctx_func2;\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:170
+#: build/C/man3/makecontext.3:177
#, no-wrap
msgid ""
"#define handle_error(msg) \\e\n"
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:180
+#: build/C/man3/makecontext.3:187
#, no-wrap
msgid ""
"static void\n"
"}\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:190
+#: build/C/man3/makecontext.3:197
#, no-wrap
msgid ""
"static void\n"
"}\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:196
+#: build/C/man3/makecontext.3:203
#, no-wrap
msgid ""
"int\n"
" char func2_stack[16384];\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:203
+#: build/C/man3/makecontext.3:210
#, no-wrap
msgid ""
" if (getcontext(&uctx_func1) == -1)\n"
" makecontext(&uctx_func1, func1, 0);\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:211
+#: build/C/man3/makecontext.3:218
#, no-wrap
msgid ""
" if (getcontext(&uctx_func2) == -1)\n"
" makecontext(&uctx_func2, func2, 0);\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:215
+#: build/C/man3/makecontext.3:222
#, no-wrap
msgid ""
" printf(\"main: swapcontext(&uctx_main, &uctx_func2)\\en\");\n"
" handle_error(\"swapcontext\");\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:219
+#: build/C/man3/makecontext.3:226
#, no-wrap
msgid ""
" printf(\"main: exiting\\en\");\n"
"}\n"
#. type: Plain text
-#: build/C/man3/makecontext.3:226
-#, fuzzy
-#| msgid ""
-#| "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
-#| "B<makecontext>(3), B<sigsetjmp>(3)"
+#: build/C/man3/makecontext.3:233
msgid ""
"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<getcontext>(3), "
"B<sigsetjmp>(3)"
msgstr ""
-"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
-"B<makecontext>(3), B<sigsetjmp>(3)"
+"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<getcontext>(3), "
+"B<sigsetjmp>(3)"
#. type: TH
#: build/C/man3/pthread_attr_init.3:26
#: build/C/man3/pthread_attr_setaffinity_np.3:79
#: build/C/man3/pthread_attr_setdetachstate.3:80
#: build/C/man3/pthread_attr_setguardsize.3:93
-#: build/C/man3/pthread_attr_setinheritsched.3:87
-#: build/C/man3/pthread_attr_setschedparam.3:77
-#: build/C/man3/pthread_attr_setschedpolicy.3:75
-#: build/C/man3/pthread_attr_setscope.3:94
+#: build/C/man3/pthread_attr_setinheritsched.3:96
+#: build/C/man3/pthread_attr_setschedparam.3:88
+#: build/C/man3/pthread_attr_setschedpolicy.3:86
+#: build/C/man3/pthread_attr_setscope.3:106
#: build/C/man3/pthread_attr_setstack.3:88
#: build/C/man3/pthread_attr_setstackaddr.3:77
#: build/C/man3/pthread_attr_setstacksize.3:64
#. type: Plain text
#: build/C/man3/pthread_attr_init.3:81
-#: build/C/man3/pthread_attr_setdetachstate.3:89
-#: build/C/man3/pthread_attr_setguardsize.3:108
-#: build/C/man3/pthread_attr_setinheritsched.3:103
-#: build/C/man3/pthread_attr_setschedparam.3:91
-#: build/C/man3/pthread_attr_setschedpolicy.3:91
-#: build/C/man3/pthread_attr_setscope.3:109
+#: build/C/man3/pthread_attr_setdetachstate.3:96
+#: build/C/man3/pthread_attr_setguardsize.3:115
+#: build/C/man3/pthread_attr_setinheritsched.3:112
+#: build/C/man3/pthread_attr_setschedparam.3:102
+#: build/C/man3/pthread_attr_setschedpolicy.3:102
+#: build/C/man3/pthread_attr_setscope.3:121
#: build/C/man3/pthread_attr_setstack.3:114
#: build/C/man3/pthread_attr_setstacksize.3:85
-#: build/C/man3/pthread_cancel.3:124 build/C/man3/pthread_cleanup_push.3:127
+#: build/C/man3/pthread_cancel.3:127 build/C/man3/pthread_cleanup_push.3:129
#: build/C/man3/pthread_create.3:148 build/C/man3/pthread_detach.3:66
#: build/C/man3/pthread_equal.3:49 build/C/man3/pthread_exit.3:77
#: build/C/man3/pthread_getcpuclockid.3:67 build/C/man3/pthread_join.3:100
-#: build/C/man3/pthread_kill.3:68 build/C/man3/pthread_self.3:52
-#: build/C/man3/pthread_setcancelstate.3:115
+#: build/C/man3/pthread_self.3:52 build/C/man3/pthread_setcancelstate.3:115
#: build/C/man3/pthread_setconcurrency.3:85
#: build/C/man3/pthread_setschedparam.3:143
-#: build/C/man3/pthread_setschedprio.3:85 build/C/man3/pthread_sigmask.3:59
+#: build/C/man3/pthread_setschedprio.3:85 build/C/man3/pthread_sigmask.3:71
#: build/C/man3/pthread_testcancel.3:60
msgid "POSIX.1-2001."
msgstr "POSIX.1-2001."
"#include E<lt>errno.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_attr_init.3:160 build/C/man3/pthread_cancel.3:159
-#: build/C/man3/pthread_cleanup_push.3:239 build/C/man3/pthread_create.3:254
+#: build/C/man3/pthread_attr_init.3:160 build/C/man3/pthread_cancel.3:162
+#: build/C/man3/pthread_cleanup_push.3:243 build/C/man3/pthread_create.3:254
#: build/C/man3/pthread_getattr_np.3:191
-#: build/C/man3/pthread_getcpuclockid.3:113
+#: build/C/man3/pthread_getcpuclockid.3:114
#: build/C/man3/pthread_setaffinity_np.3:172
-#: build/C/man3/pthread_setschedparam.3:237 build/C/man3/pthread_sigmask.3:93
+#: build/C/man3/pthread_setschedparam.3:237 build/C/man3/pthread_sigmask.3:105
#, no-wrap
msgid ""
"#define handle_error_en(en, msg) \\e\n"
#: build/C/man3/pthread_attr_setaffinity_np.3:80
#: build/C/man3/pthread_attr_setaffinity_np.3:92
#: build/C/man3/pthread_attr_setdetachstate.3:83
-#: build/C/man3/pthread_attr_setinheritsched.3:90
-#: build/C/man3/pthread_attr_setschedpolicy.3:78
-#: build/C/man3/pthread_attr_setscope.3:97
+#: build/C/man3/pthread_attr_setinheritsched.3:99
+#: build/C/man3/pthread_attr_setschedpolicy.3:89
+#: build/C/man3/pthread_attr_setscope.3:109
#: build/C/man3/pthread_attr_setstack.3:91
#: build/C/man3/pthread_attr_setstacksize.3:67
#: build/C/man3/pthread_create.3:137 build/C/man3/pthread_detach.3:55
#: build/C/man3/pthread_join.3:85 build/C/man3/pthread_join.3:89
-#: build/C/man3/pthread_kill.3:58 build/C/man3/pthread_setaffinity_np.3:84
+#: build/C/man3/pthread_kill.3:69 build/C/man3/pthread_setaffinity_np.3:84
#: build/C/man3/pthread_setaffinity_np.3:93
#: build/C/man3/pthread_setaffinity_np.3:109
#: build/C/man3/pthread_setcancelstate.3:99
msgid "PTHREAD_ATTR_SETDETACHSTATE"
msgstr "PTHREAD_ATTR_SETDETACHSTATE"
-#. type: TH
-#: build/C/man3/pthread_attr_setdetachstate.3:26
-#: build/C/man3/pthread_attr_setschedpolicy.3:26
-#, no-wrap
-msgid "2010-02-03"
-msgstr "2010-02-03"
-
#. type: Plain text
#: build/C/man3/pthread_attr_setdetachstate.3:30
msgid ""
msgstr "無効な値が I<detachstate> で指定された。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setdetachstate.3:93
+#: build/C/man3/pthread_attr_setdetachstate.3:94
+#, fuzzy
+#| msgid ""
+#| "pthread_attr_setdetachstate, pthread_attr_getdetachstate - set/get detach "
+#| "state attribute in thread attributes object"
+msgid ""
+"The B<pthread_attr_setdetachstate>() and B<pthread_attr_getdetachstate>() "
+"functions are thread-safe."
+msgstr ""
+"pthread_attr_setdetachstate, pthread_attr_getdetachstate - \n"
+"スレッド属性オブジェクトの detach state 属性の設定/取得を行う"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setdetachstate.3:100
msgid ""
"See B<pthread_create>(3) for more details on detached and joinable threads."
msgstr ""
"B<pthread_create>(3) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setdetachstate.3:101
+#: build/C/man3/pthread_attr_setdetachstate.3:108
msgid ""
"A thread that is created in a joinable state should eventually either be "
"joined using B<pthread_join>(3) or detached using B<pthread_detach>(3); see "
"のどちらかを行うべきである。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setdetachstate.3:108
+#: build/C/man3/pthread_attr_setdetachstate.3:115
msgid ""
"It is an error to specify the thread ID of a thread that was created in a "
"detached state in a later call to B<pthread_detach>(3) or B<pthread_join>"
"エラーである。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setdetachstate.3:111
-#: build/C/man3/pthread_attr_setstack.3:156
+#: build/C/man3/pthread_attr_setdetachstate.3:118
+#: build/C/man3/pthread_attr_setstack.3:155
msgid "See B<pthread_attr_init>(3)."
msgstr "B<pthread_attr_init>(3) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setdetachstate.3:117
+#: build/C/man3/pthread_attr_setdetachstate.3:124
msgid ""
"B<pthread_attr_init>(3), B<pthread_create>(3), B<pthread_detach>(3), "
"B<pthread_join>(3), B<pthreads>(7)"
msgid "PTHREAD_ATTR_SETGUARDSIZE"
msgstr "PTHREAD_ATTR_SETGUARDSIZE"
-#. type: TH
-#: build/C/man3/pthread_attr_setguardsize.3:26
-#: build/C/man3/pthread_attr_setscope.3:26
-#: build/C/man3/pthread_attr_setstack.3:26
-#: build/C/man3/pthread_attr_setstackaddr.3:26 build/C/man3/pthread_self.3:26
-#, no-wrap
-msgid "2008-10-24"
-msgstr "2008-10-24"
-
#. type: Plain text
#: build/C/man3/pthread_attr_setguardsize.3:30
msgid ""
msgstr "これらの関数は glibc バージョン 2.1 以降で提供されている。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:122
+#: build/C/man3/pthread_attr_setguardsize.3:113
+#, fuzzy
+#| msgid ""
+#| "pthread_attr_setguardsize, pthread_attr_getguardsize - set/get guard size "
+#| "attribute in thread attributes object"
+msgid ""
+"The B<pthread_attr_setguardsize>() and B<pthread_attr_getguardsize>() "
+"functions are thread-safe."
+msgstr ""
+"pthread_attr_setguardsize, pthread_attr_getguardsize - \n"
+"スレッド属性オブジェクトの guard size 属性の設定/取得を行う"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setguardsize.3:129
msgid ""
"A guard area consists of virtual memory pages that are protected to prevent "
"read and write access. If a thread overflows its stack into the guard area, "
"B<pthread_attr_setguardsize>() で設定された guard size が返される)。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:126
+#: build/C/man3/pthread_attr_setguardsize.3:133
msgid ""
"Setting a guard size of 0 may be useful to save memory in an application "
"that creates many threads and knows that stack overflow can never occur."
"することで、メモリを節約できることもある。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:130
+#: build/C/man3/pthread_attr_setguardsize.3:137
msgid ""
"Choosing a guard size larger than the default size may be necessary for "
"detecting stack overflows if a thread allocates large data structures on the "
"大きな guard size を選ぶ必要があるかもしれない。"
#. type: SH
-#: build/C/man3/pthread_attr_setguardsize.3:130
-#: build/C/man3/pthread_attr_setinheritsched.3:103
+#: build/C/man3/pthread_attr_setguardsize.3:137
+#: build/C/man3/pthread_attr_setinheritsched.3:112
#: build/C/man3/pthread_attr_setstacksize.3:96
#: build/C/man3/pthread_create.3:196 build/C/man3/pthread_exit.3:93
#, no-wrap
msgstr "バグ"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:141
+#: build/C/man3/pthread_attr_setguardsize.3:148
msgid ""
"As at glibc 2.8, the NPTL threading implementation includes the guard area "
"within the stack size allocation, rather than allocating extra space at the "
#. extra space at the end of the stack:
#. http://sourceware.org/ml/libc-alpha/2008-05/msg00086.html
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:155
+#: build/C/man3/pthread_attr_setguardsize.3:162
msgid ""
"The obsolete LinuxThreads implementation did the right thing, allocating "
"extra space at the end of the stack for the guard area."
"ガード領域がスタックの末尾に追加の領域が割り当てられる。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:158
+#: build/C/man3/pthread_attr_setguardsize.3:165
msgid "See B<pthread_getattr_np>(3)."
msgstr "B<pthread_getattr_np>(3) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setguardsize.3:166
+#: build/C/man3/pthread_attr_setguardsize.3:173
msgid ""
"B<mmap>(2), B<mprotect>(2), B<pthread_attr_init>(3), B<pthread_attr_setstack>"
"(3), B<pthread_attr_setstacksize>(3), B<pthread_create>(3), B<pthreads>(7)"
#. type: TH
#: build/C/man3/pthread_attr_setinheritsched.3:26
-#: build/C/man3/pthread_attr_setschedparam.3:26
-#: build/C/man3/pthread_attr_setstacksize.3:26
+#: build/C/man3/pthread_attr_setscope.3:26
#, no-wrap
-msgid "2012-03-15"
-msgstr "2012-03-15"
+msgid "2013-04-19"
+msgstr "2013-04-19"
#. type: Plain text
#: build/C/man3/pthread_attr_setinheritsched.3:30
msgid ""
-"pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit "
+"pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit-"
"scheduler attribute in thread attributes object"
msgstr ""
-"pthread_attr_setinheritsched, pthread_attr_getinheritsched - \n"
-"ã\82¹ã\83¬ã\83\83ã\83\89å±\9eæ\80§ã\82ªã\83\96ã\82¸ã\82§ã\82¯ã\83\88ã\81® inherit scheduler 属性の設定/取得を行う"
+"pthread_attr_setinheritsched, pthread_attr_getinheritsched - スレッド属性オブ"
+"ã\82¸ã\82§ã\82¯ã\83\88ã\81® inherit-scheduler 属性の設定/取得を行う"
#. type: Plain text
#: build/C/man3/pthread_attr_setinheritsched.3:38
#. type: Plain text
#: build/C/man3/pthread_attr_setinheritsched.3:55
msgid ""
-"The B<pthread_attr_setinheritsched>() function sets the inherit scheduler "
+"The B<pthread_attr_setinheritsched>() function sets the inherit-scheduler "
"attribute of the thread attributes object referred to by I<attr> to the "
-"value specified in I<inheritsched>. The inherit scheduler attribute "
+"value specified in I<inheritsched>. The inherit-scheduler attribute "
"determines whether a thread created using the thread attributes object "
"I<attr> will inherit its scheduling attributes from the calling thread or "
"whether it will take them from I<attr>."
msgstr ""
-"B<pthread_attr_setinheritsched>() 関数は、\n"
-"I<attr> が参照するスレッド属性オブジェクトの inherit scheduler 属性を\n"
-"I<inheritsched> で指定された値に設定する。\n"
-"inherit scheduler 属性により、スレッド属性オブジェクト I<attr> を使って\n"
-"作成されるスレッドが、呼び出したスレッドのスケジューリング属性を継承\n"
-"するか、I<attr> からスケジューリング属性を取得するかが決定される。"
+"B<pthread_attr_setinheritsched>() 関数は、 I<attr> が参照するスレッド属性オブ"
+"ジェクトの inherit-scheduler 属性を I<inheritsched> で指定された値に設定す"
+"る。 inherit-scheduler 属性により、スレッド属性オブジェクト I<attr> を使って"
+"作成されるスレッドが、呼び出したスレッドのスケジューリング属性を継承するか、 "
+"I<attr> からスケジューリング属性を取得するかが決定される。"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setinheritsched.3:64
+msgid ""
+"The following scheduling attributes are affected by the inherit-scheduler "
+"attribute: scheduling policy (B<pthread_attr_setschedpolicy>(3)), scheduling "
+"priority (B<pthread_attr_setschedparam>(3)), and contention scope "
+"(B<pthread_attr_setscope>(3))."
+msgstr ""
+"次に挙げるスケジューリング属性は inherit-scheduler 属性の影響を受ける: スケ"
+"ジューリングポリシー (B<pthread_attr_setschedpolicy>(3))、 スケジューリング優"
+"先度 (B<pthread_attr_setschedparam>(3))、 contention scope "
+"(B<pthread_attr_setscope>(3))。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:58
+#: build/C/man3/pthread_attr_setinheritsched.3:67
msgid "The following values may be specified in I<inheritsched>:"
msgstr "以下の値を I<inheritsched> に指定できる。"
#. type: TP
-#: build/C/man3/pthread_attr_setinheritsched.3:58
+#: build/C/man3/pthread_attr_setinheritsched.3:67
#, no-wrap
msgid "B<PTHREAD_INHERIT_SCHED>"
msgstr "B<PTHREAD_INHERIT_SCHED>"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:66
+#: build/C/man3/pthread_attr_setinheritsched.3:75
msgid ""
"Threads that are created using I<attr> inherit scheduling attributes from "
"the creating thread; the scheduling attributes in I<attr> are ignored."
"I<attr> 内のスケジューリング属性は無視される。"
#. type: TP
-#: build/C/man3/pthread_attr_setinheritsched.3:66
+#: build/C/man3/pthread_attr_setinheritsched.3:75
#, no-wrap
msgid "B<PTHREAD_EXPLICIT_SCHED>"
msgstr "B<PTHREAD_EXPLICIT_SCHED>"
#. FIXME what are the defaults for scheduler settings?
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:73
+#: build/C/man3/pthread_attr_setinheritsched.3:82
msgid ""
"Threads that are created using I<attr> take their scheduling attributes from "
"the values specified by the attributes object."
"指定された値からスケジューリング属性を取得する。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:77
+#: build/C/man3/pthread_attr_setinheritsched.3:86
msgid ""
-"The default setting of the inherit scheduler attribute in a newly "
+"The default setting of the inherit-scheduler attribute in a newly "
"initialized thread attributes object is B<PTHREAD_INHERIT_SCHED>."
msgstr ""
-"新たに初期化されたスレッド属性オブジェクトの inherit scheduler 属性の\n"
-"ã\83\87ã\83\95ã\82©ã\83«ã\83\88è¨å®\9aã\81¯ B<PTHREAD_INHERIT_SCHED> ã\81§ã\81\82ã\82\8bã\80\82"
+"新たに初期化されたスレッド属性オブジェクトの inherit-scheduler 属性のデフォル"
+"ト設定は B<PTHREAD_INHERIT_SCHED> である。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:84
+#: build/C/man3/pthread_attr_setinheritsched.3:93
msgid ""
-"The B<pthread_attr_getinheritsched>() returns the inherit scheduler "
+"The B<pthread_attr_getinheritsched>() returns the inherit-scheduler "
"attribute of the thread attributes object I<attr> in the buffer pointed to "
"by I<inheritsched>."
msgstr ""
-"B<pthread_attr_getinheritsched>() は、\n"
-"スレッド属性オブジェクト I<attr> の inherit scheduler 属性を\n"
-"I<inheritsched> が指すバッファに入れて返す。"
+"B<pthread_attr_getinheritsched>() は、 スレッド属性オブジェクト I<attr> の "
+"inherit-scheduler 属性を I<inheritsched> が指すバッファに入れて返す。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:90
+#: build/C/man3/pthread_attr_setinheritsched.3:99
msgid "B<pthread_attr_setinheritsched>() can fail with the following error:"
msgstr "B<pthread_attr_setinheritsched>() は以下のエラーで失敗する場合がある。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:94
+#: build/C/man3/pthread_attr_setinheritsched.3:103
msgid "Invalid value in I<inheritsched>."
msgstr "I<inheritsched> に無効な値が指定された。"
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:101
+#: build/C/man3/pthread_attr_setinheritsched.3:110
msgid ""
"POSIX.1-2001 also documents an optional B<ENOTSUP> error (\"attempt was made "
"to set the attribute to an unsupported value\") for "
#. FIXME . Track status of the following bug:
#. http://sourceware.org/bugzilla/show_bug.cgi?id=7007
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:119
+#: build/C/man3/pthread_attr_setinheritsched.3:128
msgid ""
"As at glibc 2.8, if a thread attributes object is initialized using "
"B<pthread_attr_init>(3), then the scheduling policy of the attributes object "
"is set to B<SCHED_OTHER> and the scheduling priority is set to 0. However, "
-"if the inherit scheduler attribute is then set to B<PTHREAD_EXPLICIT_SCHED>, "
+"if the inherit-scheduler attribute is then set to B<PTHREAD_EXPLICIT_SCHED>, "
"then a thread created using the attribute object wrongly inherits its "
"scheduling attributes from the creating thread. This bug does not occur if "
"either the scheduling policy or scheduling priority attribute is explicitly "
"set in the thread attributes object before calling B<pthread_create>(3)."
msgstr ""
-"glibc 2.8 の時点では、スレッド属性オブジェクトが\n"
-"B<pthread_attr_init>(3) を使って初期化された場合、\n"
-"スレッド属性オブジェクトのスケジューリングポリシーが B<SCHED_OTHER> に、\n"
-"スケジューリング優先度が 0 に設定される。一方、その後 inherit\n"
-"scheduling 属性に B<PTHREAD_EXPLICIT_SCHED> が設定されると、このスレッ\n"
-"ド属性オブジェクトを使って作成されたスレッドでは、スレッドを作成するス\n"
-"レッドのスケジューリング属性が間違って継承されてしまう。\n"
-"B<pthread_create>(3) を呼び出す前にスケジューリングポリシー属性か\n"
-"スケジューリング優先度属性のどちらかが明示的に設定された場合には、\n"
-"このバグは発生しない。"
-
-#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:122
-#: build/C/man3/pthread_attr_setschedparam.3:98
-#: build/C/man3/pthread_attr_setschedpolicy.3:94
+"glibc 2.8 の時点では、スレッド属性オブジェクトが B<pthread_attr_init>(3) を"
+"使って初期化された場合、 スレッド属性オブジェクトのスケジューリングポリシー"
+"が B<SCHED_OTHER> に、 スケジューリング優先度が 0 に設定される。一方、その後 "
+"inherit-scheduler 属性に B<PTHREAD_EXPLICIT_SCHED> が設定されると、このスレッ"
+"ド属性オブジェクトを使って作成されたスレッドでは、スレッドを作成するスレッド"
+"のスケジューリング属性が間違って継承されてしまう。 B<pthread_create>(3) を呼"
+"び出す前にスケジューリングポリシー属性かスケジューリング優先度属性のどちらか"
+"が明示的に設定された場合には、 このバグは発生しない。"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setinheritsched.3:131
+#: build/C/man3/pthread_attr_setschedparam.3:109
+#: build/C/man3/pthread_attr_setschedpolicy.3:105
msgid "See B<pthread_setschedparam>(3)."
msgstr "B<pthread_setschedparam>(3) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:133
+#: build/C/man3/pthread_attr_setinheritsched.3:143
msgid ""
"B<sched_setscheduler>(2), B<pthread_attr_init>(3), "
"B<pthread_attr_setschedparam>(3), B<pthread_attr_setschedpolicy>(3), "
-"B<pthread_create>(3), B<pthread_setschedparam>(3), B<pthread_setschedprio>"
-"(3), B<pthreads>(7)"
+"B<pthread_attr_setscope>(3), B<pthread_create>(3), B<pthread_setschedparam>"
+"(3), B<pthread_setschedprio>(3), B<pthreads>(7)"
msgstr ""
"B<sched_setscheduler>(2), B<pthread_attr_init>(3), "
"B<pthread_attr_setschedparam>(3), B<pthread_attr_setschedpolicy>(3), "
-"B<pthread_create>(3), B<pthread_setschedparam>(3), B<pthread_setschedprio>"
-"(3), B<pthreads>(7)"
+"B<pthread_attr_setscope>(3), B<pthread_create>(3), B<pthread_setschedparam>"
+"(3), B<pthread_setschedprio>(3), B<pthreads>(7)"
#. type: TH
#: build/C/man3/pthread_attr_setschedparam.3:26
msgid "PTHREAD_ATTR_SETSCHEDPARAM"
msgstr "PTHREAD_ATTR_SETSCHEDPARAM"
+#. type: TH
+#: build/C/man3/pthread_attr_setschedparam.3:26
+#: build/C/man3/pthread_attr_setschedpolicy.3:26
+#: build/C/man3/pthread_setname_np.3:26
+#, no-wrap
+msgid "2013-06-21"
+msgstr "2013-06-21"
+
#. type: Plain text
#: build/C/man3/pthread_attr_setschedparam.3:30
msgid ""
"である。各スケジューリングポリシーで許可されるスケジューリング優先度の\n"
"詳細については、B<sched_setscheduler>(2) を参照のこと。"
+#. type: Plain text
+#: build/C/man3/pthread_attr_setschedparam.3:85
+msgid ""
+"In order for the parameter setting made by B<pthread_attr_setschedparam>() "
+"to have effect when calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
+msgstr ""
+"B<pthread_create>(3) を呼び出した際に B<pthread_attr_setschedparam>() で行っ"
+"たパラメータ設定を有効にするには、 呼び出し側で "
+"B<pthread_attr_setinheritsched>(3) を使って 属性オブジェクト I<attr> の "
+"inherit-scheduler 属性を B<PTHREAD_EXPLICIT_SCHED> に設定しておかなければなら"
+"ない。"
+
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:89
+#: build/C/man3/pthread_attr_setschedparam.3:100
msgid ""
"POSIX.1 documents B<EINVAL> and B<ENOTSUP> errors for "
"B<pthread_attr_setschedparam>(). On Linux these functions always succeed "
"正のエラーの返り値を処理するようにすべきである)。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:95
+#: build/C/man3/pthread_attr_setschedparam.3:106
msgid ""
"See B<pthread_attr_setschedpolicy>(3) for a list of the thread scheduling "
"policies supported on Linux."
"ついては、 B<pthread_attr_setschedpolicy>(3) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:110
+#: build/C/man3/pthread_attr_setschedparam.3:121
msgid ""
"B<sched_get_priority_min>(2), B<sched_setscheduler>(2), B<pthread_attr_init>"
"(3), B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedpolicy>(3), "
"I<policy> が指すバッファに入れて返す。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:78
+#: build/C/man3/pthread_attr_setschedpolicy.3:83
+msgid ""
+"In order for the policy setting made by B<pthread_attr_setschedpolicy>() to "
+"have effect when calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
+msgstr ""
+"B<pthread_create>(3) を呼び出した際に B<pthread_attr_setschedpolicy>() で行っ"
+"たポリシー設定を有効にするには、 呼び出し側で B<pthread_attr_setinheritsched>"
+"(3) を使って 属性オブジェクト I<attr> の inherit-scheduler 属性を "
+"B<PTHREAD_EXPLICIT_SCHED> に設定しておかなければならない。"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setschedpolicy.3:89
msgid "B<pthread_attr_setschedpolicy>() can fail with the following error:"
msgstr "B<pthread_attr_setschedpolicy>() は以下のエラーで失敗する場合がある。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:82
+#: build/C/man3/pthread_attr_setschedpolicy.3:93
msgid "Invalid value in I<policy>."
msgstr "I<policy> に無効な値が指定された。"
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:89
+#: build/C/man3/pthread_attr_setschedpolicy.3:100
msgid ""
"POSIX.1-2001 also documents an optional B<ENOTSUP> error (\"attempt was made "
"to set the attribute to an unsupported value\") for "
"も追加で規定されている。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:105
+#: build/C/man3/pthread_attr_setschedpolicy.3:116
msgid ""
"B<sched_setscheduler>(2), B<pthread_attr_init>(3), "
"B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
#. type: Plain text
#: build/C/man3/pthread_attr_setscope.3:83
msgid ""
-"POSIX.1-2001 only requires that an implementation support one of these "
-"contention scopes, but permits both to be supported. Linux supports "
-"B<PTHREAD_SCOPE_SYSTEM>, but not B<PTHREAD_SCOPE_PROCESS>."
+"POSIX.1-2001 requires that an implementation support at least one of these "
+"contention scopes. Linux supports B<PTHREAD_SCOPE_SYSTEM>, but not "
+"B<PTHREAD_SCOPE_PROCESS>."
msgstr ""
-"POSIX.1-2001 で求められているのは、スレッド実装がこれらの contention\n"
-"scope のうち 1 つをサポートすることだけであるが、\n"
-"両方をサポートすることも認めている。\n"
-"Linux は B<PTHREAD_SCOPE_SYSTEM> をサポートしているが、\n"
-"B<PTHREAD_SCOPE_PROCESS> はサポートしていない。"
+"POSIX.1-2001 で求められているのは、スレッド実装がこれらの contention scope の"
+"うち少なくとも 1 つをサポートすることだけである。 Linux は "
+"B<PTHREAD_SCOPE_SYSTEM> をサポートしているが、 B<PTHREAD_SCOPE_PROCESS> はサ"
+"ポートしていない。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:91
+#: build/C/man3/pthread_attr_setscope.3:95
+msgid ""
+"On systems that support multiple contention scopes, then, in order for the "
+"parameter setting made by B<pthread_attr_setscope>() to have effect when "
+"calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
+msgstr ""
+"複数の contention scope をサポートしているシステムで、 B<pthread_create>(3) "
+"を呼び出した際に B<pthread_attr_setscope>() で行ったパラメータ設定を有効にす"
+"るには、 呼び出し側で B<pthread_attr_setinheritsched>(3) を使って 属性オブ"
+"ジェクト I<attr> の inherit-scheduler 属性を B<PTHREAD_EXPLICIT_SCHED> に設定"
+"しておかなければならない。"
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setscope.3:103
msgid ""
"The B<pthread_attr_getscope>() function returns the contention scope "
"attribute of the thread attributes object referred to by I<attr> in the "
"I<scope> が指すバッファに入れて返す。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:97
+#: build/C/man3/pthread_attr_setscope.3:109
msgid "B<pthread_attr_setscope>() can fail with the following errors:"
msgstr "B<pthread_attr_setscope>() は以下のエラーで失敗する場合がある。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:101
+#: build/C/man3/pthread_attr_setscope.3:113
msgid "An invalid value was specified in I<scope>."
msgstr "I<scope> に無効な値が指定された。"
#. type: TP
-#: build/C/man3/pthread_attr_setscope.3:101
+#: build/C/man3/pthread_attr_setscope.3:113
#, no-wrap
msgid "B<ENOTSUP>"
msgstr "B<ENOTSUP>"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:107
+#: build/C/man3/pthread_attr_setscope.3:119
msgid ""
"I<scope> specified the value B<PTHREAD_SCOPE_PROCESS>, which is not "
"supported on Linux."
"この値は Linux でサポートされていない。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:117
-#, fuzzy
-#| msgid ""
-#| "The B<PTHREAD_SCOPE_SYSTEM> contention scope typically indicates that a "
-#| "userspace thread is bound directly to a single kernel-scheduling entity. "
-#| "This is the case on Linux for the obsolete LinuxThreads implementation "
-#| "and the modern NPTL implementation, which are both 1:1 threading "
-#| "implementations."
+#: build/C/man3/pthread_attr_setscope.3:129
msgid ""
"The B<PTHREAD_SCOPE_SYSTEM> contention scope typically indicates that a user-"
"space thread is bound directly to a single kernel-scheduling entity. This "
"該当し、両方とも 1:1 で結び付けられるスレッド実装となっている。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:120
+#: build/C/man3/pthread_attr_setscope.3:132
msgid ""
"POSIX.1-2001 specifies that the default contention scope is implementation-"
"defined."
"実装時で定義されるものと規定されている。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:130
+#: build/C/man3/pthread_attr_setscope.3:142
msgid ""
"B<pthread_attr_init>(3), B<pthread_attr_setaffinity_np>(3), "
"B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
msgid "PTHREAD_ATTR_SETSTACK"
msgstr "PTHREAD_ATTR_SETSTACK"
+#. type: TH
+#: build/C/man3/pthread_attr_setstack.3:26
+#: build/C/man3/pthread_attr_setstackaddr.3:26 build/C/man3/pthread_self.3:26
+#, no-wrap
+msgid "2008-10-24"
+msgstr "2008-10-24"
+
#. type: Plain text
#: build/C/man3/pthread_attr_setstack.3:30
msgid ""
"B< void **>I<stackaddr>B<, size_t *>I<stacksize>B<);>\n"
#. type: Plain text
-#: build/C/man3/pthread_attr_setstack.3:45 build/C/man3/pthread_sigqueue.3:41
+#: build/C/man3/pthread_attr_setstack.3:45 build/C/man3/pthread_kill.3:41
+#: build/C/man3/pthread_sigmask.3:42 build/C/man3/pthread_sigqueue.3:41
msgid ""
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7) 参照):"
"たいていは、 I<stacksize> はシステムのページサイズの倍数とすべきである。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setstack.3:153
+#: build/C/man3/pthread_attr_setstack.3:152
msgid ""
"If I<attr> is used to create multiple threads, then the caller must change "
"the stack address attribute between calls to B<pthread_create>(3); "
"使おうとするため、訳の分からない状況が発生してしまう。"
#. type: Plain text
-#: build/C/man3/pthread_attr_setstack.3:168
+#: build/C/man3/pthread_attr_setstack.3:167
msgid ""
"B<mmap>(2), B<mprotect>(2), B<posix_memalign>(3), B<pthread_attr_init>(3), "
"B<pthread_attr_setguardsize>(3), B<pthread_attr_setstackaddr>(3), "
msgid "PTHREAD_ATTR_SETSTACKSIZE"
msgstr "PTHREAD_ATTR_SETSTACKSIZE"
+#. type: TH
+#: build/C/man3/pthread_attr_setstacksize.3:26
+#, no-wrap
+msgid "2012-03-15"
+msgstr "2012-03-15"
+
#. type: Plain text
#: build/C/man3/pthread_attr_setstacksize.3:30
msgid ""
msgstr "B<int pthread_cancel(pthread_t >I<thread>B<);>\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:46
+#: build/C/man3/pthread_cancel.3:49
msgid ""
"The B<pthread_cancel>() function sends a cancellation request to the thread "
"I<thread>. Whether and when the target thread reacts to the cancellation "
"I<state> と I<type>により決まる。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:58
+#: build/C/man3/pthread_cancel.3:61
msgid ""
"A thread's cancelability state, determined by B<pthread_setcancelstate>(3), "
"can be I<enabled> (the default for new threads) or I<disabled>. If a thread "
"cancelability type によって、いつキャンセルが発生するかが決まる。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:74
+#: build/C/man3/pthread_cancel.3:77
msgid ""
"A thread's cancellation type, determined by B<pthread_setcanceltype>(3), may "
"be either I<asynchronous> or I<deferred> (the default for new threads). "
"(usually immediately, but the system does not guarantee this). Deferred "
"cancelability means that cancellation will be delayed until the thread next "
"calls a function that is a I<cancellation point>. A list of functions that "
-"are or may be cancellation points is provided in I<pthreads>(7)."
+"are or may be cancellation points is provided in B<pthreads>(7)."
msgstr ""
"スレッドのキャンセル種別 (cancelability type) は\n"
"B<pthread_setcanceltype>(3) で設定され、I<asynchronous> か I<deferred>\n"
"(deferred cancelability) では、そのスレッドが I<取り消しポイント\n"
"(cancellation point)> となっている関数を次に呼び出すまでキャンセルが\n"
"遅延される。取り消しポイントに設定されていたり設定\n"
-"したりできる関数のリストは I<pthreads>(7) に記載している。"
+"したりできる関数のリストは B<pthreads>(7) に記載している。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:78
+#: build/C/man3/pthread_cancel.3:81
msgid ""
"When a cancellation requested is acted on, the following steps occur for "
"I<thread> (in this order):"
"I<thread> では以下のステップが (この順序で) 行われる。"
#. type: IP
-#: build/C/man3/pthread_cancel.3:78 build/C/man3/pthread_cleanup_push.3:69
+#: build/C/man3/pthread_cancel.3:81 build/C/man3/pthread_cleanup_push.3:69
#, no-wrap
msgid "1."
msgstr "1."
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:83
+#: build/C/man3/pthread_cancel.3:86
msgid ""
"Cancellation clean-up handlers are popped (in the reverse of the order in "
"which they were pushed) and called. (See B<pthread_cleanup_push>(3).)"
"(B<pthread_cleanup_push>(3) 参照)"
#. type: IP
-#: build/C/man3/pthread_cancel.3:83 build/C/man3/pthread_cleanup_push.3:73
+#: build/C/man3/pthread_cancel.3:86 build/C/man3/pthread_cleanup_push.3:73
#, no-wrap
msgid "2."
msgstr "2."
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:88
+#: build/C/man3/pthread_cancel.3:91
msgid ""
"Thread-specific data destructors are called, in an unspecified order. (See "
"B<pthread_key_create>(3).)"
"(B<pthread_key_create>(3) 参照)"
#. type: IP
-#: build/C/man3/pthread_cancel.3:88 build/C/man3/pthread_cleanup_push.3:81
+#: build/C/man3/pthread_cancel.3:91 build/C/man3/pthread_cleanup_push.3:83
#, no-wrap
msgid "3."
msgstr "3."
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:92
+#: build/C/man3/pthread_cancel.3:95
msgid "The thread is terminated. (See B<pthread_exit>(3).)"
msgstr "スレッドが終了される。 (B<pthread_exit>(3) 参照)"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:100
+#: build/C/man3/pthread_cancel.3:103
msgid ""
"The above steps happen asynchronously with respect to the B<pthread_cancel>"
"() call; the return status of B<pthread_cancel>() merely informs the "
"キューに入れられたかどうかを呼び出し元に示すだけのものである。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:109
+#: build/C/man3/pthread_cancel.3:112
msgid ""
"After a canceled thread has terminated, a join with that thread using "
"B<pthread_join>(3) obtains B<PTHREAD_CANCELED> as the thread's exit "
"(スレッドの join はキャンセルが完了したかを知る唯一の方法である)"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:114
+#: build/C/man3/pthread_cancel.3:117
msgid ""
"On success, B<pthread_cancel>() returns 0; on error, it returns a nonzero "
"error number."
"エラーの場合、0 以外のエラー番号を返す。"
#. type: TP
-#: build/C/man3/pthread_cancel.3:115 build/C/man3/pthread_detach.3:59
+#: build/C/man3/pthread_cancel.3:118 build/C/man3/pthread_detach.3:59
#: build/C/man3/pthread_getcpuclockid.3:58 build/C/man3/pthread_join.3:93
-#: build/C/man3/pthread_kill.3:61 build/C/man3/pthread_setaffinity_np.3:114
+#: build/C/man3/pthread_setaffinity_np.3:114
#: build/C/man3/pthread_setschedparam.3:114
#: build/C/man3/pthread_setschedprio.3:70 build/C/man3/pthread_sigqueue.3:85
#, no-wrap
msgstr "B<ESRCH>"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:122 build/C/man3/pthread_detach.3:64
+#: build/C/man3/pthread_cancel.3:125 build/C/man3/pthread_detach.3:64
#: build/C/man3/pthread_getcpuclockid.3:63 build/C/man3/pthread_join.3:98
-#: build/C/man3/pthread_kill.3:66 build/C/man3/pthread_setaffinity_np.3:119
+#: build/C/man3/pthread_setaffinity_np.3:119
#: build/C/man3/pthread_setschedparam.3:119
#: build/C/man3/pthread_setschedprio.3:75
msgid "No thread with the ID I<thread> could be found."
msgstr "ID が I<thread> のスレッドが見つからなかった。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:132
+#: build/C/man3/pthread_cancel.3:135
msgid ""
"On Linux, cancellation is implemented using signals. Under the NPTL "
"threading implementation, the first real-time signal (i.e., signal 32) is "
"シグナルが使用され、そうでない場合は B<SIGUSR2> が使用される。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:138
+#: build/C/man3/pthread_cancel.3:141
msgid ""
"The program below creates a thread and then cancels it. The main thread "
"joins with the canceled thread to check that its exit status was "
"確認する。以下のシェルセッションはこのプログラムを実行した際の実行例である。"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:146
+#: build/C/man3/pthread_cancel.3:149
#, no-wrap
msgid ""
"$ ./a.out\n"
"main(): thread was canceled\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:156
+#: build/C/man3/pthread_cancel.3:159
#, no-wrap
msgid ""
"#include E<lt>pthread.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:164
+#: build/C/man3/pthread_cancel.3:167
#, no-wrap
msgid ""
"static void *\n"
" int s;\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:167
+#: build/C/man3/pthread_cancel.3:170
#, no-wrap
msgid ""
" /* Disable cancellation for a while, so that we don\\(aqt\n"
" immediately react to a cancellation request */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:171
+#: build/C/man3/pthread_cancel.3:174
#, no-wrap
msgid ""
" s = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);\n"
" handle_error_en(s, \"pthread_setcancelstate\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:175
+#: build/C/man3/pthread_cancel.3:178
#, no-wrap
msgid ""
" printf(\"thread_func(): started; cancellation disabled\\en\");\n"
" printf(\"thread_func(): about to enable cancellation\\en\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:179
+#: build/C/man3/pthread_cancel.3:182
#, no-wrap
msgid ""
" s = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);\n"
" handle_error_en(s, \"pthread_setcancelstate\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:181
+#: build/C/man3/pthread_cancel.3:184
#, no-wrap
msgid " /* sleep() is a cancellation point */\n"
msgstr " /* sleep() is a cancellation point */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:183
+#: build/C/man3/pthread_cancel.3:186
#, no-wrap
msgid " sleep(1000); /* Should get canceled while we sleep */\n"
msgstr " sleep(1000); /* Should get canceled while we sleep */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:185
+#: build/C/man3/pthread_cancel.3:188
#, no-wrap
msgid " /* Should never get here */\n"
msgstr " /* Should never get here */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:189
+#: build/C/man3/pthread_cancel.3:192
#, no-wrap
msgid ""
" printf(\"thread_func(): not canceled!\\en\");\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:196
+#: build/C/man3/pthread_cancel.3:199
#, no-wrap
msgid ""
"int\n"
" int s;\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:198
+#: build/C/man3/pthread_cancel.3:201
#, no-wrap
msgid " /* Start a thread and then send it a cancellation request */\n"
msgstr " /* Start a thread and then send it a cancellation request */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:202
+#: build/C/man3/pthread_cancel.3:205
#, no-wrap
msgid ""
" s = pthread_create(&thr, NULL, &thread_func, NULL);\n"
" handle_error_en(s, \"pthread_create\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:204
+#: build/C/man3/pthread_cancel.3:207
#, no-wrap
msgid " sleep(2); /* Give thread a chance to get started */\n"
msgstr " sleep(2); /* Give thread a chance to get started */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:209
+#: build/C/man3/pthread_cancel.3:212
#, no-wrap
msgid ""
" printf(\"main(): sending cancellation request\\en\");\n"
" handle_error_en(s, \"pthread_cancel\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:211
+#: build/C/man3/pthread_cancel.3:214
#, no-wrap
msgid " /* Join with thread to see what its exit status was */\n"
msgstr " /* Join with thread to see what its exit status was */\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:215 build/C/man3/pthread_cleanup_push.3:303
+#: build/C/man3/pthread_cancel.3:218 build/C/man3/pthread_cleanup_push.3:307
#, no-wrap
msgid ""
" s = pthread_join(thr, &res);\n"
" handle_error_en(s, \"pthread_join\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:222
+#: build/C/man3/pthread_cancel.3:225
#, no-wrap
msgid ""
" if (res == PTHREAD_CANCELED)\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:235
+#: build/C/man3/pthread_cancel.3:238
msgid ""
"B<pthread_cleanup_push>(3), B<pthread_create>(3), B<pthread_exit>(3), "
"B<pthread_join>(3), B<pthread_key_create>(3), B<pthread_setcancelstate>(3), "
"実行は、スタックに登録されたのと逆の順序で行われる。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:81
+#: build/C/man3/pthread_cleanup_push.3:83
msgid ""
"When a thread terminates by calling B<pthread_exit>(3), all clean-up "
"handlers are executed as described in the preceding point. (Clean-up "
"は、クリーンアップハンドラはI<呼び出されない>。)"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:87
+#: build/C/man3/pthread_cleanup_push.3:89
msgid ""
"When a thread calls B<pthread_cleanup_pop>() with a nonzero I<execute> "
"argument, the top-most clean-up handler is popped and executed."
"実行される。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:99
+#: build/C/man3/pthread_cleanup_push.3:101
msgid ""
"POSIX.1 permits B<pthread_cleanup_push>() and B<pthread_cleanup_pop>() to "
"be implemented as macros that expand to text containing \\(aqB<{>\\(aq and "
"\\(aqB<}>\\(aq, respectively. For this reason, the caller must ensure that "
"calls to these functions are paired within the same function, and at the "
-"same lexical nesting level. (In other words, a clean-up handler is only "
-"established during the execution of a specified section of code.)"
+"same lexical nesting level. (In other words, a clean-up handler is "
+"established only during the execution of a specified section of code.)"
msgstr ""
"POSIX.1 では、 B<pthread_cleanup_push>() と B<pthread_cleanup_pop>() を\n"
"それぞれ \\(aqB<{>\\(aq と \\(aqB<}>\\(aq を含むテキストに展開するマクロと\n"
"の特定のセクションの実行の中でのみ設定するものであると言える。)"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:119
+#: build/C/man3/pthread_cleanup_push.3:121
msgid ""
"Calling B<longjmp>(3) (B<siglongjmp>(3)) produces undefined results if any "
"call has been made to B<pthread_cleanup_push>() or B<pthread_cleanup_pop>"
"結果になるかは不定である。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:121
+#: build/C/man3/pthread_cleanup_push.3:123
msgid "These functions do not return a value."
msgstr "これらの関数は値を返さない。"
#. SH VERSIONS
#. Available since glibc 2.0
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:125
+#: build/C/man3/pthread_cleanup_push.3:127
msgid "There are no errors."
msgstr "エラーはない。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:136
+#: build/C/man3/pthread_cleanup_push.3:140
msgid ""
"On Linux, the B<pthread_cleanup_push>() and B<pthread_cleanup_pop>() "
"functions I<are> implemented as macros that expand to text containing \\(aqB<"
"{>\\(aq and \\(aqB<}>\\(aq, respectively. This means that variables "
-"declared within the scope of paired calls to these functions will only be "
-"visible within that scope."
+"declared within the scope of paired calls to these functions will be visible "
+"within only that scope."
msgstr ""
"Linux では、関数 B<pthread_cleanup_push>() と B<pthread_cleanup_pop>()\n"
"は、それぞれ \\(aqB<{>\\(aq と \\(aqB<}>\\(aq を含むテキストに展開する\n"
#. The text was actually added in the 2004 TC2
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:151
+#: build/C/man3/pthread_cleanup_push.3:155
msgid ""
"POSIX.1 says that the effect of using I<return>, I<break>, I<continue>, or "
"I<goto> to prematurely leave a block bracketed B<pthread_cleanup_push>() "
"移植性が必要なアプリケーションではこれを行うのは避けるべきである。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:166
+#: build/C/man3/pthread_cleanup_push.3:170
msgid ""
"The program below provides a simple example of the use of the functions "
"described in this page. The program creates a thread that executes a loop "
"設定したりする。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:169
+#: build/C/man3/pthread_cleanup_push.3:173
msgid ""
"In the following shell session, the main thread sends a cancellation request "
"to the other thread:"
"キャンセル要求を送信する。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:179
+#: build/C/man3/pthread_cleanup_push.3:183
#, no-wrap
msgid ""
"$ B<./a.out>\n"
"Thread was canceled; cnt = 0\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:187
+#: build/C/man3/pthread_cleanup_push.3:191
msgid ""
"From the above, we see that the thread was canceled, and that the "
"cancellation clean-up handler was called and it reset the value of the "
"グローバル変数 I<cnt> の値が 0 にリセットされていることが確認できる。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:190
+#: build/C/man3/pthread_cleanup_push.3:194
msgid ""
"In the next run, the main program sets a global variable that causes other "
"thread to terminate normally:"
"もう一つのスレッドが正常終了するようにしている。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:198
+#: build/C/man3/pthread_cleanup_push.3:202
#, no-wrap
msgid ""
"$ B<./a.out x>\n"
"Thread terminated normally; cnt = 2\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:206
+#: build/C/man3/pthread_cleanup_push.3:210
msgid ""
"From the above, we see that the clean-up handler was not executed (because "
"I<cleanup_pop_arg> was 0), and therefore the value of I<cnt> was not reset."
"分かる。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:211
+#: build/C/man3/pthread_cleanup_push.3:215
msgid ""
"In the next run, the main program sets a global variable that causes the "
"other thread to terminate normally, and supplies a nonzero value for "
"I<cleanup_pop_arg> に 0 以外の値を渡している。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:220
+#: build/C/man3/pthread_cleanup_push.3:224
#, no-wrap
msgid ""
"$ B<./a.out x 1>\n"
"Thread terminated normally; cnt = 0\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:227
+#: build/C/man3/pthread_cleanup_push.3:231
msgid ""
"In the above, we see that although the thread was not canceled, the clean-up "
"handler was executed, because the argument given to B<pthread_cleanup_pop>"
"に 0 以外を渡したからである。"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:236
+#: build/C/man3/pthread_cleanup_push.3:240
#, no-wrap
msgid ""
"#include E<lt>pthread.hE<gt>\n"
"#include E<lt>errno.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:243
+#: build/C/man3/pthread_cleanup_push.3:247
#, no-wrap
msgid ""
"static int done = 0;\n"
"static int cnt = 0;\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:250
+#: build/C/man3/pthread_cleanup_push.3:254
#, no-wrap
msgid ""
"static void\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:255
+#: build/C/man3/pthread_cleanup_push.3:259
#, no-wrap
msgid ""
"static void *\n"
" time_t start, curr;\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:257
+#: build/C/man3/pthread_cleanup_push.3:261
#, no-wrap
msgid " printf(\"New thread started\\en\");\n"
msgstr " printf(\"New thread started\\en\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:259
+#: build/C/man3/pthread_cleanup_push.3:263
#, no-wrap
msgid " pthread_cleanup_push(cleanup_handler, NULL);\n"
msgstr " pthread_cleanup_push(cleanup_handler, NULL);\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:261
+#: build/C/man3/pthread_cleanup_push.3:265
#, no-wrap
msgid " curr = start = time(NULL);\n"
msgstr " curr = start = time(NULL);\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:270
+#: build/C/man3/pthread_cleanup_push.3:274
#, no-wrap
msgid ""
" while (!done) {\n"
" }\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:274
+#: build/C/man3/pthread_cleanup_push.3:278
#, no-wrap
msgid ""
" pthread_cleanup_pop(cleanup_pop_arg);\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:281
+#: build/C/man3/pthread_cleanup_push.3:285
#, no-wrap
msgid ""
"int\n"
" void *res;\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:285
+#: build/C/man3/pthread_cleanup_push.3:289
#, no-wrap
msgid ""
" s = pthread_create(&thr, NULL, thread_start, NULL);\n"
" handle_error_en(s, \"pthread_create\");\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:287
+#: build/C/man3/pthread_cleanup_push.3:291
#, no-wrap
msgid " sleep(2); /* Allow new thread to run a while */\n"
msgstr " sleep(2); /* Allow new thread to run a while */\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:292
+#: build/C/man3/pthread_cleanup_push.3:296
#, no-wrap
msgid ""
" if (argc E<gt> 1) {\n"
" done = 1;\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:299
+#: build/C/man3/pthread_cleanup_push.3:303
#, no-wrap
msgid ""
" } else {\n"
" }\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:310
+#: build/C/man3/pthread_cleanup_push.3:314
#, no-wrap
msgid ""
" if (res == PTHREAD_CANCELED)\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:317
+#: build/C/man3/pthread_cleanup_push.3:321
msgid ""
"B<pthread_cancel>(3), B<pthread_cleanup_push_defer_np>(3), "
"B<pthread_setcancelstate>(3), B<pthread_testcancel>(3), B<pthreads>(7)"
msgstr "PTHREAD_CREATE"
#. type: TH
-#: build/C/man3/pthread_create.3:26 build/C/man3/pthread_sigmask.3:26
-#, fuzzy, no-wrap
-#| msgid "2012-03-15"
+#: build/C/man3/pthread_create.3:26
+#, no-wrap
msgid "2012-08-03"
-msgstr "2012-03-15"
+msgstr "2012-08-03"
#. type: Plain text
#: build/C/man3/pthread_create.3:29
#, no-wrap
msgid ""
"$B< ulimit -s>\n"
-"8192 # The stack size limit is 8 MB (0x80000 bytes)\n"
+"8192 # The stack size limit is 8 MB (0x800000 bytes)\n"
"$B< ./a.out hola salut servus>\n"
"Thread 1: top of stack near 0xb7dd03b8; argv_string=hola\n"
"Thread 2: top of stack near 0xb75cf3b8; argv_string=salut\n"
"Joined with thread 3; returned value was SERVUS\n"
msgstr ""
"$B< ulimit -s>\n"
-"8192 # The stack size limit is 8 MB (0x80000 bytes)\n"
+"8192 # The stack size limit is 8 MB (0x800000 bytes)\n"
"$B< ./a.out hola salut servus>\n"
"Thread 1: top of stack near 0xb7dd03b8; argv_string=hola\n"
"Thread 2: top of stack near 0xb75cf3b8; argv_string=salut\n"
"#include E<lt>ctype.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_create.3:257 build/C/man3/pthread_getcpuclockid.3:110
+#: build/C/man3/pthread_create.3:257 build/C/man3/pthread_getcpuclockid.3:111
#, no-wrap
msgid ""
"#define handle_error(msg) \\e\n"
#. type: Plain text
#: build/C/man3/pthread_create.3:272
-#, fuzzy, no-wrap
-#| msgid ""
-#| "static void *\n"
-#| "thread_start(void *arg)\n"
-#| "{\n"
-#| " struct thread_info *tinfo = (struct thread_info *) arg;\n"
-#| " char *uargv, *p;\n"
+#, no-wrap
msgid ""
"static void *\n"
"thread_start(void *arg)\n"
"static void *\n"
"thread_start(void *arg)\n"
"{\n"
-" struct thread_info *tinfo = (struct thread_info *) arg;\n"
+" struct thread_info *tinfo = arg;\n"
" char *uargv, *p;\n"
#. type: Plain text
"下記のシェルのセッションは実行例である。"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:93
+#: build/C/man3/pthread_getcpuclockid.3:94
#, no-wrap
msgid ""
"$ B<./a.out>\n"
"Subthread CPU time: 0.992\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:99
+#: build/C/man3/pthread_getcpuclockid.3:100
#, no-wrap
msgid "/* Link with \"-lrt\" */\n"
msgstr "/* \"-lrt\" でリンクする */\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:107
+#: build/C/man3/pthread_getcpuclockid.3:108
#, no-wrap
msgid ""
"#include E<lt>time.hE<gt>\n"
"#include E<lt>errno.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:121
+#: build/C/man3/pthread_getcpuclockid.3:122
#, no-wrap
msgid ""
"static void *\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:126
+#: build/C/man3/pthread_getcpuclockid.3:127
#, no-wrap
msgid ""
"static void\n"
" struct timespec ts;\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:132
+#: build/C/man3/pthread_getcpuclockid.3:133
#, no-wrap
msgid ""
" printf(\"%s\", msg);\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:139
+#: build/C/man3/pthread_getcpuclockid.3:140
#, no-wrap
msgid ""
"int\n"
" int j, s;\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:143
+#: build/C/man3/pthread_getcpuclockid.3:144
#, no-wrap
msgid ""
" s = pthread_create(&thread, NULL, thread_start, NULL);\n"
" handle_error_en(s, \"pthread_create\");\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:146
+#: build/C/man3/pthread_getcpuclockid.3:147
#, no-wrap
msgid ""
" printf(\"Main thread sleeping\\en\");\n"
" sleep(1);\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:150
+#: build/C/man3/pthread_getcpuclockid.3:151
#, no-wrap
msgid ""
" printf(\"Main thread consuming some CPU time...\\en\");\n"
" getppid();\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:152
+#: build/C/man3/pthread_getcpuclockid.3:153
#, no-wrap
msgid " pclock(\"Process total CPU time: \", CLOCK_PROCESS_CPUTIME_ID);\n"
msgstr " pclock(\"Process total CPU time: \", CLOCK_PROCESS_CPUTIME_ID);\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:157
+#: build/C/man3/pthread_getcpuclockid.3:158
#, no-wrap
msgid ""
" s = pthread_getcpuclockid(pthread_self(), &cid);\n"
" pclock(\"Main thread CPU time: \", cid);\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:160
+#: build/C/man3/pthread_getcpuclockid.3:161
#, no-wrap
msgid ""
" /* The preceding 4 lines of code could have been replaced by:\n"
" pclock(\"Main thread CPU time: \", CLOCK_THREAD_CPUTIME_ID); */\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:165
+#: build/C/man3/pthread_getcpuclockid.3:166
#, no-wrap
msgid ""
" s = pthread_getcpuclockid(thread, &cid);\n"
" pclock(\"Subthread CPU time: 1 \", cid);\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:168
+#: build/C/man3/pthread_getcpuclockid.3:169
#, no-wrap
msgid ""
" exit(EXIT_SUCCESS); /* Terminates both threads */\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_getcpuclockid.3:177
+#: build/C/man3/pthread_getcpuclockid.3:178
msgid ""
"B<clock_gettime>(2), B<clock_settime>(2), B<timer_create>(2), "
"B<clock_getcpuclockid>(3), B<pthread_self>(3), B<pthreads>(7), B<time>(7)"
msgstr "PTHREAD_KILL"
#. type: TH
-#: build/C/man3/pthread_kill.3:26 build/C/man3/pthread_sigqueue.3:25
-#, fuzzy, no-wrap
-#| msgid "2012-03-15"
-msgid "2012-08-19"
-msgstr "2012-03-15"
+#: build/C/man3/pthread_kill.3:26 build/C/man3/pthread_sigmask.3:26
+#, no-wrap
+msgid "2014-02-04"
+msgstr "2014-02-04"
#. type: Plain text
#: build/C/man3/pthread_kill.3:29
msgstr "B<int pthread_kill(pthread_t >I<thread>B<, int >I<sig>B<);>\n"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:47
-#, fuzzy
-#| msgid ""
-#| "The B<pthread_kill>() function sends the signal I<sig> to I<thread>, "
-#| "another thread in the same process as the caller. The signal is "
-#| "asynchronously directed to I<thread>."
+#: build/C/man3/pthread_kill.3:45
+msgid "B<pthread_kill>():"
+msgstr "B<pthread_kill>():"
+
+#. type: Plain text
+#: build/C/man3/pthread_kill.3:47 build/C/man3/pthread_sigmask.3:48
+msgid "_POSIX_C_SOURCE\\ E<gt>=\\ 199506L || _XOPEN_SOURCE\\ E<gt>=\\ 500"
+msgstr "_POSIX_C_SOURCE\\ E<gt>=\\ 199506L || _XOPEN_SOURCE\\ E<gt>=\\ 500"
+
+#. type: Plain text
+#: build/C/man3/pthread_kill.3:59
msgid ""
"The B<pthread_kill>() function sends the signal I<sig> to I<thread>, a "
"thread in the same process as the caller. The signal is asynchronously "
"directed to I<thread>."
msgstr ""
"B<pthread_kill>() 関数は、呼び出したスレッドと同じプロセスの\n"
-"別のスレッド I<thread> にシグナル I<sig> を送信する。\n"
+"スレッド I<thread> にシグナル I<sig> を送信する。\n"
"シグナルは非同期に I<thread> へ直接送られる。"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:52
+#: build/C/man3/pthread_kill.3:63
msgid ""
"If I<sig> is 0, then no signal is sent, but error checking is still "
-"performed; this can be used to check for the existence of a thread ID."
+"performed."
msgstr ""
-"I<sig> が 0 の場合、シグナルは送信されないが、\n"
-"エラーチェックだけは実行される。\n"
-"これを使うと、スレッド ID が存在するかの確認を行うことができる。"
+"I<sig> が 0 の場合、シグナルは送信されないが、エラーチェックだけは実行され"
+"る。"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:57
+#: build/C/man3/pthread_kill.3:68
msgid ""
"On success, B<pthread_kill>() returns 0; on error, it returns an error "
"number, and no signal is sent."
"エラーの場合、エラー番号を返し、シグナルの送信は行わない。"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:61
+#: build/C/man3/pthread_kill.3:72
msgid "An invalid signal was specified."
msgstr "無効なシグナルが指定された。"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:75
+#: build/C/man3/pthread_kill.3:74
+msgid "POSIX.1-2008."
+msgstr "POSIX.1-2008."
+
+#. type: Plain text
+#: build/C/man3/pthread_kill.3:81
msgid ""
"Signal dispositions are process-wide: if a signal handler is installed, the "
"handler will be invoked in the thread I<thread>, but if the disposition of "
"シグナルに対するアクションはプロセス全体に影響がある。"
#. type: Plain text
-#: build/C/man3/pthread_kill.3:84
-#, fuzzy
-#| msgid ""
-#| "B<kill>(2) B<sigaction>(2), B<sigpending>(2), B<pthread_self>(3), "
-#| "B<pthread_sigmask>(3), B<raise>(3), B<pthreads>(7), B<signal>(7)"
+#: build/C/man3/pthread_kill.3:94
+msgid ""
+"POSIX.1-2008 recommends that if an implementation detects the use of a "
+"thread ID after the end of its lifetime, B<pthread_kill>() should return "
+"the error B<ESRCH>. The glibc implementation returns this error in the "
+"cases where an invalid thread ID can be detected. But note also that POSIX "
+"says that an attempt to use a thread ID whose lifetime has ended produces "
+"undefined behavior, and an attempt to use an invalid thread ID in a call to "
+"B<pthread_kill>() can, for example, cause a segmentation fault."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/pthread_kill.3:103
msgid ""
"B<kill>(2), B<sigaction>(2), B<sigpending>(2), B<pthread_self>(3), "
"B<pthread_sigmask>(3), B<raise>(3), B<pthreads>(7), B<signal>(7)"
msgstr ""
-"B<kill>(2) B<sigaction>(2), B<sigpending>(2), B<pthread_self>(3), "
+"B<kill>(2), B<sigaction>(2), B<sigpending>(2), B<pthread_self>(3), "
"B<pthread_sigmask>(3), B<raise>(3), B<pthreads>(7), B<signal>(7)"
#. type: TH
#. type: Plain text
#: build/C/man3/pthread_kill_other_threads_np.3:47
msgid ""
-"B<pthread_kill_other_threads_np>() only has an effect in the LinuxThreads "
+"B<pthread_kill_other_threads_np>() has an effect only in the LinuxThreads "
"threading implementation. On that implementation, calling this function "
"causes the immediate termination of all threads in the application, except "
"the calling thread. The cancellation state and cancellation type of the to-"
#. type: Plain text
#: build/C/man3/pthread_self.3:71
msgid ""
-"Thread IDs are only guaranteed to be unique within a process. A thread ID "
+"Thread IDs are guaranteed to be unique only within a process. A thread ID "
"may be reused after a terminated thread has been joined, or a detached "
"thread has terminated."
msgstr ""
"left in an inconsistent state if cancellation occurs in the middle of the "
"function call. Consequently, clean-up handlers cease to be useful. "
"Functions that can be safely asynchronously canceled are called I<async-"
-"cancel-safe functions>. POSIX.1-2001 only requires that B<pthread_cancel>"
+"cancel-safe functions>. POSIX.1-2001 requires only that B<pthread_cancel>"
"(3), B<pthread_setcancelstate>(), and B<pthread_setcanceltype>() be async-"
"cancel-safe. In general, other library functions can't be safely called "
"from an asynchronously cancelable thread. One of the few circumstances in "
msgid ""
"The B<pthread_setconcurrency>() function informs the implementation of the "
"application's desired concurrency level, specified in I<new_level>. The "
-"implementation only takes this as a hint: POSIX.1 does not specify the level "
+"implementation takes this only as a hint: POSIX.1 does not specify the level "
"of concurrency that should be provided as a result of calling "
"B<pthread_setconcurrency>()."
msgstr ""
"B<pthread_setconcurrency>() 関数は、アプリケーションが希望する\n"
"並列処理レベル (concurrency level) をスレッド実装に通知する。\n"
"希望する並列処理レベルは I<new_level> で指定する。\n"
-"スレッド実装はこの情報を参考情報として利用する。\n"
+"スレッド実装はこの情報をヒントとしてのみ利用する。\n"
"POSIX.1 では、 B<pthread_setconcurrency>() の呼び出した結果、\n"
"どのような並列度になるべきかは規定されていない。"
#. type: Plain text
#: build/C/man3/pthread_setconcurrency.3:94
msgid ""
-"Concurrency levels are only meaningful for M:N threading implementations, "
+"Concurrency levels are meaningful only for M:N threading implementations, "
"where at any moment a subset of a process's set of user-level threads may be "
"bound to a smaller number of kernel-scheduling entities. Setting the "
"concurrency level allows the application to give the system a hint as to the "
#. type: TH
#: build/C/man3/pthread_setname_np.3:26
-#, fuzzy, no-wrap
-#| msgid "PTHREAD_GETATTR_NP"
+#, no-wrap
msgid "PTHREAD_SETNAME_NP"
-msgstr "PTHREAD_GETATTR_NP"
-
-#. type: TH
-#: build/C/man3/pthread_setname_np.3:26
-#, fuzzy, no-wrap
-#| msgid "2010-02-03"
-msgid "2013-02-04"
-msgstr "2010-02-03"
+msgstr "PTHREAD_SETNAME_NP"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:29
-#, fuzzy
-#| msgid ""
-#| "pthread_setaffinity_np, pthread_getaffinity_np - set/get CPU affinity of "
-#| "a thread"
msgid "pthread_setname_np, pthread_getname_np - set/get the name of a thread"
-msgstr ""
-"pthread_setaffinity_np, pthread_getaffinity_np - スレッドの\n"
-"CPU affinity の設定/取得を行う"
+msgstr "pthread_setname_np, pthread_getname_np - スレッド名の設定/取得を行う"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:36
msgid ""
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
"B<#include E<lt>pthread.hE<gt>>\n"
-"B<int pthread_setname_np(pthread_t *>I<thread>B<, const char *>I<name>B<);>\n"
-"B<int pthread_getname_np(pthread_t *>I<thread>B<,>\n"
+"B<int pthread_setname_np(pthread_t >I<thread>B<, const char *>I<name>B<);>\n"
+"B<int pthread_getname_np(pthread_t >I<thread>B<,>\n"
"B< const char *>I<name>B<, size_t >I<len>B<);>\n"
msgstr ""
+"B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
+"B<#include E<lt>pthread.hE<gt>>\n"
+"B<int pthread_setname_np(pthread_t >I<thread>B<, const char *>I<name>B<);>\n"
+"B<int pthread_getname_np(pthread_t >I<thread>B<,>\n"
+"B< const char *>I<name>B<, size_t >I<len>B<);>\n"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:55
"program name. The B<pthread_setname_np>() function can be used to set a "
"unique name for a thread, which can be useful for debugging multithreaded "
"applications. The thread name is a meaningful C language string, whose "
-"length is restricted to 16 characters, including the terminating null byte. "
-"The I<thread> argument specifies the thread whose name is to be changed; "
-"I<name> specifies the new name."
+"length is restricted to 16 characters, including the terminating null byte "
+"(\\(aq\\e0\\(aq). The I<thread> argument specifies the thread whose name is "
+"to be changed; I<name> specifies the new name."
msgstr ""
+"デフォルトでは、 B<pthread_create>() で作成されたすべてのスレッドはプログラム"
+"名を継承する。 B<pthread_setname_np>() 関数を使うとスレッドに固有の名前を設定"
+"することができる。 スレッド固有の名前はマルチスレッド・アプリケーションのデ"
+"バッグに便利である。 スレッド名は意味のある C 言語の文字列である。 その長さ"
+"は 16 文字に限定されており、 終端の NULL バイト (\\(aq\\e0\\(aq) も 16 文字に"
+"含まれる。 I<thread> 引き数で名前を変更するスレッドを指定する。 I<name> には"
+"新しい名前を指定する。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:72
"I<name> should be at least 16 characters in length. The returned thread "
"name in the output buffer will be null terminated."
msgstr ""
+"B<pthread_getname_np>() 関数を使うと、 スレッド名を取得することができる。 "
+"I<thread> 引き数は名前を取得するスレッドを指定する。 バッファ I<name> はス"
+"レッド名を返すのに使用される。 I<len> には I<name> の大きさをバイトで指定す"
+"る。 I<name> で指定されたバッファの大きさは最低でも 16 文字とすべきである。 "
+"出力バッファに返されたスレッド名は NULL 終端される。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:79
-#, fuzzy
-#| msgid "The B<pthread_setcanceltype>() can fail with the following error:"
msgid ""
"The B<pthread_setname_np>() function can fail with the following error:"
-msgstr "B<pthread_setcanceltype>() は以下のエラーで失敗する場合がある。"
+msgstr "B<pthread_setname_np>() は以下のエラーで失敗する場合がある。"
#. type: TP
#: build/C/man3/pthread_setname_np.3:79 build/C/man3/pthread_setname_np.3:88
#, no-wrap
msgid "B<ERANGE>"
-msgstr ""
+msgstr "B<ERANGE>"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:84
msgid ""
"The length of the string specified pointed to by I<name> exceeds the allowed "
"limit."
-msgstr ""
+msgstr "I<name> で指定された文字列の長さが、許可されている上限を超えている。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:88
-#, fuzzy
-#| msgid "The B<pthread_setcanceltype>() can fail with the following error:"
msgid ""
"The B<pthread_getname_np>() function can fail with the following error:"
-msgstr "B<pthread_setcanceltype>() は以下のエラーで失敗する場合がある。"
+msgstr "B<pthread_getname_np>() は以下のエラーで失敗する場合がある。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:95
"The buffer specified by I<name> and I<len> is too small to hold the thread "
"name."
msgstr ""
+"I<name> と I<len> で指定されたバッファが、 スレッド名を格納するには短かすぎ"
+"る。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:100
"If either of these functions fails to open I</proc/self/task/[tid]/comm>, "
"then the call may fail with one of the errors described in B<open>(2)."
msgstr ""
+"I</proc/self/task/[tid]/comm> のオープンに失敗した場合、 これらの関数は "
+"B<open>(2) で説明されているエラーのいずれかで失敗する。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:102
-#, fuzzy
-#| msgid "These functions first appeared in glibc in version 2.3.3."
msgid "These functions first appeared in glibc in version 2.12."
-msgstr "これらの関数は glibc バージョン 2.3.3 で初めて登場した。"
+msgstr "これらの関数は glibc バージョン 2.12 で初めて登場した。"
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:104
-#, fuzzy
-#| msgid "This function is a GNU extension."
msgid "These functions are nonstandard GNU extensions."
-msgstr "ã\81\93ã\81®é\96¢æ\95°ã\81¯ GNU による拡張である。"
+msgstr "ã\81\93ã\82\8cã\82\89ã\81®é\96¢æ\95°ã\81¯é\9d\9eæ¨\99æº\96ã\81® GNU による拡張である。"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:112
+#: build/C/man3/pthread_setname_np.3:114
msgid ""
-"B<pthread_setname_np>() internally writes to the thread specific comm file "
-"under I</proc> filesystem: I</proc/self/task/[tid]/comm>. "
+"B<pthread_setname_np>() internally writes to the thread-specific I<comm> "
+"file under the I</proc> filesystem: I</proc/self/task/[tid]/comm>. "
"B<pthread_getname_np>() retrieves it from the same location."
msgstr ""
+"B<pthread_setname_np>() は内部で I</proc> ファイルシステムのスレッド固有の "
+"I<comm> ファイル (I</proc/self/task/[tid]/comm>) に書き込みを行う。 "
+"B<pthread_getname_np>() はこのファイルから読み出しを行う。"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:118
-#, fuzzy
-#| msgid ""
-#| "The program below demonstrates the use of B<pthread_create>(), as well as "
-#| "a number of other functions in the pthreads API."
+#: build/C/man3/pthread_setname_np.3:120
msgid ""
"The program below demonstrates the use of B<pthread_setname_np>() and "
"B<pthread_getname_np>()."
msgstr ""
-"以下のプログラムは、 B<pthread_create>() や\n"
-"pthreads API の他のいろいろな関数の使用例を示している。"
+"以下のプログラムは、 B<pthread_setname_np>() と B<pthread_getname_np>()\n"
+"の使用例を示している。"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:120
-#, fuzzy
-#| msgid ""
-#| "In the following shell session, the main thread sends a cancellation "
-#| "request to the other thread:"
+#: build/C/man3/pthread_setname_np.3:122
msgid "The following shell session shows a sample run of the program:"
-msgstr ""
-"以下のシェルセッションでは、メインスレッドはもう一つのスレッドに\n"
-"キャンセル要求を送信する。"
+msgstr "以下のシェルセッションは、このプログラムの実行例である。"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:136
+#: build/C/man3/pthread_setname_np.3:138
#, no-wrap
msgid ""
"$B< ./a.out>\n"
"$ B<cat /proc/5990/task/5991/comm>\n"
"THREADFOO\n"
msgstr ""
+"$B< ./a.out>\n"
+"Created a thread. Default name is: a.out\n"
+"The thread name after setting it is THREADFOO.\n"
+"B<^Z> # Suspend the program\n"
+"[1]+ Stopped ./a.out\n"
+"$ B<ps H -C a.out -o 'pid tid cmd comm'>\n"
+" PID TID CMD COMMAND\n"
+" 5990 5990 ./a.out a.out\n"
+" 5990 5991 ./a.out THREADFOO\n"
+"$ B<cat /proc/5990/task/5990/comm>\n"
+"a.out\n"
+"$ B<cat /proc/5990/task/5991/comm>\n"
+"THREADFOO\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:148
-#, fuzzy, no-wrap
-#| msgid ""
-#| "#include E<lt>pthread.hE<gt>\n"
-#| "#include E<lt>stdio.hE<gt>\n"
-#| "#include E<lt>stdlib.hE<gt>\n"
-#| "#include E<lt>unistd.hE<gt>\n"
-#| "#include E<lt>signal.hE<gt>\n"
-#| "#include E<lt>errno.hE<gt>\n"
+#: build/C/man3/pthread_setname_np.3:150
+#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
"#include E<lt>pthread.hE<gt>\n"
"#include E<lt>errno.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
msgstr ""
+"#define _GNU_SOURCE\n"
"#include E<lt>pthread.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
-"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>string.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
-"#include E<lt>signal.hE<gt>\n"
"#include E<lt>errno.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:150
+#: build/C/man3/pthread_setname_np.3:152
#, no-wrap
msgid "#define NAMELEN 16\n"
-msgstr ""
+msgstr "#define NAMELEN 16\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:154
-#, fuzzy, no-wrap
-#| msgid ""
-#| "#define handle_error_en(en, msg) \\e\n"
-#| " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n"
+#: build/C/man3/pthread_setname_np.3:156
+#, no-wrap
msgid ""
"#define errExitEN(en, msg) \\e\n"
" do { errno = en; perror(msg); exit(EXIT_FAILURE); \\e\n"
" } while (0)\n"
msgstr ""
-"#define handle_error_en(en, msg) \\e\n"
-" do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n"
+"#define errExitEN(en, msg) \\e\n"
+" do { errno = en; perror(msg); exit(EXIT_FAILURE); \\e\n"
+" } while (0)\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:161
+#: build/C/man3/pthread_setname_np.3:163
#, no-wrap
msgid ""
"static void *\n"
" return NULL;\n"
"}\n"
msgstr ""
+"static void *\n"
+"threadfunc(void *parm)\n"
+"{\n"
+" sleep(5); // allow main program to set the thread name\n"
+" return NULL;\n"
+"}\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:168
-#, fuzzy, no-wrap
-#| msgid ""
-#| "int\n"
-#| "main(int argc, char *argv[])\n"
-#| "{\n"
-#| " pthread_t thr;\n"
-#| " int s;\n"
-#| " void *res;\n"
+#: build/C/man3/pthread_setname_np.3:170
+#, no-wrap
msgid ""
"int\n"
"main(int argc, char **argv)\n"
" char thread_name[NAMELEN];\n"
msgstr ""
"int\n"
-"main(int argc, char *argv[])\n"
+"main(int argc, char **argv)\n"
"{\n"
-" pthread_t thr;\n"
-" int s;\n"
-" void *res;\n"
+" pthread_t thread;\n"
+" int rc;\n"
+" char thread_name[NAMELEN];\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:172
-#, fuzzy, no-wrap
-#| msgid ""
-#| " s = pthread_create(&thr, NULL, &thread_func, NULL);\n"
-#| " if (s != 0)\n"
-#| " handle_error_en(s, \"pthread_create\");\n"
+#: build/C/man3/pthread_setname_np.3:174
+#, no-wrap
msgid ""
" rc = pthread_create(&thread, NULL, threadfunc, NULL);\n"
" if (rc != 0)\n"
" errExitEN(rc, \"pthread_create\");\n"
msgstr ""
-" s = pthread_create(&thr, NULL, &thread_func, NULL);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_create\");\n"
+" rc = pthread_create(&thread, NULL, threadfunc, NULL);\n"
+" if (rc != 0)\n"
+" errExitEN(rc, \"pthread_create\");\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:176
-#, fuzzy, no-wrap
-#| msgid ""
-#| " s = pthread_getattr_np(thread, &attr);\n"
-#| " if (s != 0)\n"
-#| " handle_error_en(s, \"pthread_getattr_np\");\n"
+#: build/C/man3/pthread_setname_np.3:178
+#, no-wrap
msgid ""
" rc = pthread_getname_np(thread, thread_name, NAMELEN);\n"
" if (rc != 0)\n"
" errExitEN(rc, \"pthread_getname_np\");\n"
msgstr ""
-" s = pthread_getattr_np(thread, &attr);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_getattr_np\");\n"
+" rc = pthread_getname_np(thread, thread_name, NAMELEN);\n"
+" if (rc != 0)\n"
+" errExitEN(rc, \"pthread_getname_np\");\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:181
+#: build/C/man3/pthread_setname_np.3:183
#, no-wrap
msgid ""
" printf(\"Created a thread. Default name is: %s\\en\", thread_name);\n"
" if (rc != 0)\n"
" errExitEN(rc, \"pthread_setname_np\");\n"
msgstr ""
+" printf(\"Created a thread. Default name is: %s\\en\", thread_name);\n"
+" rc = pthread_setname_np(thread, (argc E<gt> 1) ? argv[1] : \"THREADFOO\");\n"
+" if (rc != 0)\n"
+" errExitEN(rc, \"pthread_setname_np\");\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:183
+#: build/C/man3/pthread_setname_np.3:185
#, no-wrap
msgid " sleep(2);\n"
-msgstr ""
+msgstr " sleep(2);\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:189
+#: build/C/man3/pthread_setname_np.3:191
#, no-wrap
msgid ""
" rc = pthread_getname_np(thread, thread_name,\n"
" errExitEN(rc, \"pthread_getname_np\");\n"
" printf(\"The thread name after setting it is %s.\\en\", thread_name);\n"
msgstr ""
+" rc = pthread_getname_np(thread, thread_name,\n"
+" (argc E<gt> 2) ? atoi(argv[1]) : NAMELEN);\n"
+" if (rc != 0)\n"
+" errExitEN(rc, \"pthread_getname_np\");\n"
+" printf(\"The thread name after setting it is %s.\\en\", thread_name);\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:193
-#, fuzzy, no-wrap
-#| msgid ""
-#| " s = pthread_join(thread, NULL);\n"
-#| " if (s != 0)\n"
-#| " handle_error_en(s, \"pthread_join\");\n"
+#: build/C/man3/pthread_setname_np.3:195
+#, no-wrap
msgid ""
" rc = pthread_join(thread, NULL);\n"
" if (rc != 0)\n"
" errExitEN(rc, \"pthread_join\");\n"
msgstr ""
-" s = pthread_join(thread, NULL);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_join\");\n"
+" rc = pthread_join(thread, NULL);\n"
+" if (rc != 0)\n"
+" errExitEN(rc, \"pthread_join\");\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:197
-#, fuzzy, no-wrap
-#| msgid ""
-#| " printf(\"main: exiting\\en\");\n"
-#| " exit(EXIT_SUCCESS);\n"
-#| "}\n"
+#: build/C/man3/pthread_setname_np.3:199
+#, no-wrap
msgid ""
" printf(\"Done\\en\");\n"
" exit(EXIT_SUCCESS);\n"
"}\n"
msgstr ""
-" printf(\"main: exiting\\en\");\n"
+" printf(\"Done\\en\");\n"
" exit(EXIT_SUCCESS);\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_setname_np.3:204
-#, fuzzy
-#| msgid "B<pthread_create>(3), B<pthread_equal>(3), B<pthreads>(7)"
+#: build/C/man3/pthread_setname_np.3:206
msgid "B<prctl>(2), B<pthread_create>(3), B<pthreads>(7)"
-msgstr "B<pthread_create>(3), B<pthread_equal>(3), B<pthreads>(7)"
+msgstr "B<prctl>(2), B<pthread_create>(3), B<pthreads>(7)"
#. type: TH
#: build/C/man3/pthread_setschedparam.3:26
#. type: Plain text
#: build/C/man3/pthread_sigmask.3:46
+msgid "B<pthread_sigmask>():"
+msgstr "B<pthread_sigmask>():"
+
+#. type: Plain text
+#: build/C/man3/pthread_sigmask.3:58
msgid ""
"The B<pthread_sigmask>() function is just like B<sigprocmask>(2), with the "
"difference that its use in multithreaded programs is explicitly specified by "
"いる点が異なる。他の違いはこのマニュアルページで説明する。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:49
+#: build/C/man3/pthread_sigmask.3:61
msgid ""
"For a description of the arguments and operation of this function, see "
"B<sigprocmask>(2)."
msgstr "この関数の引き数と動作の説明は B<sigprocmask>(2) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:54
+#: build/C/man3/pthread_sigmask.3:66
msgid ""
"On success, B<pthread_sigmask>() returns 0; on error, it returns an error "
"number."
"エラーの場合、エラー番号を返す。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:57
+#: build/C/man3/pthread_sigmask.3:69
msgid "See B<sigprocmask>(2)."
msgstr "B<sigprocmask>(2) を参照。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:61
+#: build/C/man3/pthread_sigmask.3:73
msgid "A new thread inherits a copy of its creator's signal mask."
msgstr ""
"新しいスレッドは、スレッドを作成したスレッドのシグナルマスクのコピーを\n"
"継承する。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:66
+#: build/C/man3/pthread_sigmask.3:78
msgid ""
"The program below blocks some signals in the main thread, and then creates a "
"dedicated thread to fetch those signals via B<sigwait>(3). The following "
"下記のシェルのセッションはその利用例を示したものである。"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:77
+#: build/C/man3/pthread_sigmask.3:89
#, no-wrap
msgid ""
"$B< ./a.out &>\n"
"[1]+ Terminated ./a.out\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:88
+#: build/C/man3/pthread_sigmask.3:100
#, no-wrap
msgid ""
"#include E<lt>pthread.hE<gt>\n"
"#include E<lt>errno.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:90
+#: build/C/man3/pthread_sigmask.3:102
#, no-wrap
msgid "/* Simple error handling functions */\n"
msgstr "/* Simple error handling functions */\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:99
-#, fuzzy, no-wrap
-#| msgid ""
-#| "static void *\n"
-#| "sig_thread(void *arg)\n"
-#| "{\n"
-#| " sigset_t *set = (sigset_t *) arg;\n"
-#| " int s, sig;\n"
+#: build/C/man3/pthread_sigmask.3:111
+#, no-wrap
msgid ""
"static void *\n"
"sig_thread(void *arg)\n"
"static void *\n"
"sig_thread(void *arg)\n"
"{\n"
-" sigset_t *set = (sigset_t *) arg;\n"
+" sigset_t *set = arg;\n"
" int s, sig;\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:107
+#: build/C/man3/pthread_sigmask.3:119
#, no-wrap
msgid ""
" for (;;) {\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:114
+#: build/C/man3/pthread_sigmask.3:126
#, no-wrap
msgid ""
"int\n"
" int s;\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:117
+#: build/C/man3/pthread_sigmask.3:129
#, no-wrap
msgid ""
" /* Block SIGQUIT and SIGUSR1; other threads created by main()\n"
" will inherit a copy of the signal mask. */\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:124
+#: build/C/man3/pthread_sigmask.3:136
#, no-wrap
msgid ""
" sigemptyset(&set);\n"
" handle_error_en(s, \"pthread_sigmask\");\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:128
+#: build/C/man3/pthread_sigmask.3:140
#, no-wrap
msgid ""
" s = pthread_create(&thread, NULL, &sig_thread, (void *) &set);\n"
" handle_error_en(s, \"pthread_create\");\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:131
+#: build/C/man3/pthread_sigmask.3:143
#, no-wrap
msgid ""
" /* Main thread carries on to create other threads and/or do\n"
" other work */\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:134
+#: build/C/man3/pthread_sigmask.3:146
#, no-wrap
msgid ""
" pause(); /* Dummy pause so we can test program */\n"
"}\n"
#. type: Plain text
-#: build/C/man3/pthread_sigmask.3:144
-#, fuzzy
-#| msgid ""
-#| "B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2) B<pthread_create>"
-#| "(3), B<pthread_kill>(3), B<sigsetops>(3), B<pthreads>(7), B<signal>(7)"
+#: build/C/man3/pthread_sigmask.3:156
msgid ""
"B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2), B<pthread_create>(3), "
"B<pthread_kill>(3), B<sigsetops>(3), B<pthreads>(7), B<signal>(7)"
msgstr ""
-"B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2) B<pthread_create>(3), "
+"B<sigaction>(2), B<sigpending>(2), B<sigprocmask>(2), B<pthread_create>(3), "
"B<pthread_kill>(3), B<sigsetops>(3), B<pthreads>(7), B<signal>(7)"
#. type: TH
msgid "PTHREAD_SIGQUEUE"
msgstr "PTHREAD_SIGQUEUE"
+#. type: TH
+#: build/C/man3/pthread_sigqueue.3:25
+#, no-wrap
+msgid "2012-08-19"
+msgstr "2012-08-19"
+
#. type: Plain text
#: build/C/man3/pthread_sigqueue.3:28
msgid "pthread_sigqueue - queue a signal and data to a thread"
#: build/C/man3/pthread_sigqueue.3:34
#, no-wrap
msgid ""
-"B<int pthread_sigqueue(pthread_t *>I<thread>B<, int >I<sig>B<,>\n"
+"B<int pthread_sigqueue(pthread_t >I<thread>B<, int >I<sig>B<,>\n"
"B< const union sigval >I<value>B<);>\n"
msgstr ""
-"B<int pthread_sigqueue(pthread_t *>I<thread>B<, int >I<sig>B<,>\n"
+"B<int pthread_sigqueue(pthread_t >I<thread>B<, int >I<sig>B<,>\n"
"B< const union sigval >I<value>B<);>\n"
#. type: Plain text
#. type: Plain text
#: build/C/man3/pthread_sigqueue.3:53
-#, fuzzy
-#| msgid ""
-#| "The B<pthread_sigqueue>() function performs a similar task to B<sigqueue>"
-#| "(3), but, rather than sending a signal to another process, it sends a "
-#| "signal to another thread in the same process as the calling thread."
msgid ""
"The B<pthread_sigqueue>() function performs a similar task to B<sigqueue>"
"(3), but, rather than sending a signal to a process, it sends a signal to a "
"thread in the same process as the calling thread."
msgstr ""
"B<pthread_sigqueue>() 関数は B<sigqueue>(3) と同様の処理を実行するが、\n"
-"別のプロセスにシグナルを送信するのではなく、呼び出したスレッドと\n"
-"同じプロセス内の他のスレッドにシグナルを送信する。"
+"プロセスにシグナルを送信するのではなく、呼び出したスレッドと\n"
+"同じプロセス内のスレッドにシグナルを送信する。"
#. type: Plain text
#: build/C/man3/pthread_sigqueue.3:65
-#, fuzzy
-#| msgid ""
-#| "The I<thread> argument is the ID of another thread in the same process as "
-#| "the caller. The I<sig> argument specifies the signal to be sent. The "
-#| "I<value> argument specifies data to accompany the signal; see B<sigqueue>"
-#| "(3) for details."
msgid ""
"The I<thread> argument is the ID of a thread in the same process as the "
"caller. The I<sig> argument specifies the signal to be sent. The I<value> "
"argument specifies data to accompany the signal; see B<sigqueue>(3) for "
"details."
msgstr ""
-"I<thread> 引き数は、呼び出し側と同じプロセスの別のスレッドの ID である。\n"
+"I<thread> 引き数は、呼び出し側と同じプロセスのスレッドの ID である。\n"
"I<sig> 引き数は送信するシグナルを指定する。\n"
"I<value> 引き数はシグナルと一緒に渡すデータを指定する。\n"
"詳細は B<sigqueue>(3) を参照。"
#. type: Plain text
#: build/C/man3/pthread_testcancel.3:50
-#, fuzzy
-#| msgid ""
-#| "If cancelability is disabled (using B<pthread_setcancelstate>(3)), or no "
-#| "cancellation request is pending, then a call to B<pthread_testcancel>(3) "
-#| "has no effect."
msgid ""
"If cancelability is disabled (using B<pthread_setcancelstate>(3)), or no "
"cancellation request is pending, then a call to B<pthread_testcancel>() has "
"no effect."
msgstr ""
"(B<pthread_setcancelstate>(3) を使って) キャンセルが無効になっている\n"
-"場合や処理待ちの取り消し要求がない場合は、B<pthread_testcancel>(3) を\n"
+"場合や処理待ちの取り消し要求がない場合は、B<pthread_testcancel>() を\n"
"呼び出しても何の影響もない。"
#. type: Plain text
#. type: TH
#: build/C/man3/pthread_yield.3:25
-#, fuzzy, no-wrap
-#| msgid "2012-03-15"
+#, no-wrap
msgid "2013-03-05"
-msgstr "2012-03-15"
+msgstr "2013-03-05"
#. type: Plain text
#: build/C/man3/pthread_yield.3:28
#. type: Plain text
#: build/C/man3/pthread_yield.3:66
-#, fuzzy
-#| msgid "B<sched_setscheduler>(2), B<sched_yield>(2) B<pthreads>(7)"
msgid "B<sched_setscheduler>(2), B<sched_yield>(2), B<pthreads>(7)"
-msgstr "B<sched_setscheduler>(2), B<sched_yield>(2) B<pthreads>(7)"
+msgstr "B<sched_setscheduler>(2), B<sched_yield>(2), B<pthreads>(7)"
#. type: TH
#: build/C/man7/pthreads.7:26
"Each of the threads in a process has a unique thread identifier (stored in "
"the type I<pthread_t>). This identifier is returned to the caller of "
"B<pthread_create>(3), and a thread can obtain its own thread identifier "
-"using B<pthread_self>(3). Thread IDs are only guaranteed to be unique "
+"using B<pthread_self>(3). Thread IDs are guaranteed to be unique only "
"within a process. A thread ID may be reused after a terminated thread has "
"been joined, or a detached thread has terminated. In all pthreads functions "
"that accept a thread ID as an argument, that ID by definition refers to a "
#. type: SS
#: build/C/man7/pthreads.7:251
-#, fuzzy, no-wrap
-#| msgid "Cancellation Points"
+#, no-wrap
msgid "Cancellation points"
msgstr "取り消しポイント (cancellation points)"
#. type: SS
#: build/C/man7/pthreads.7:658
-#, fuzzy, no-wrap
-#| msgid "Linux Implementations of POSIX Threads"
+#, no-wrap
msgid "Linux implementations of POSIX threads"
msgstr "POSIX スレッドの Linux での実装"
"According to POSIX.1, a process-directed signal (sent using B<kill>(2), for "
"example) should be handled by a single, arbitrarily selected thread within "
"the process. LinuxThreads does not support the notion of process-directed "
-"signals: signals may only be sent to specific threads."
+"signals: signals may be sent only to specific threads."
msgstr ""
"POSXI.1 では、全体としてのプロセスに送られるシグナルと、 個別のスレッドに送ら"
"れるシグナルを区別して考えている。 POSIX.1 によると、プロセスに送られたシグナ"
#. type: Plain text
#: build/C/man7/pthreads.7:808
-msgid "Some NPTL nonconformances only occur with older kernels:"
+msgid "Some NPTL nonconformances occur only with older kernels:"
msgstr "NPTL の標準非準拠な点のうちいくつかは以前のカーネルでのみ発生する:"
#. type: Plain text
#. type: SS
#: build/C/man7/pthreads.7:849
-#, fuzzy, no-wrap
-#| msgid "Determining the Threading Implementation"
+#, no-wrap
msgid "Determining the threading implementation"
msgstr "スレッド実装の判定"
#. type: SS
#: build/C/man7/pthreads.7:872
-#, fuzzy, no-wrap
-#| msgid "Selecting the Threading Implementation: LD_ASSUME_KERNEL"
+#, no-wrap
msgid "Selecting the threading implementation: LD_ASSUME_KERNEL"
msgstr "スレッドの実装の選択: LD_ASSUME_KERNEL"
#. type: Plain text
#: build/C/man7/pthreads.7:929
-#, fuzzy
-#| msgid ""
-#| "and various Pthreads manual pages, for example: B<pthread_attr_init>(3), "
-#| "B<pthread_atfork>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3), "
-#| "B<pthread_cond_signal>(3), B<pthread_cond_wait>(3), B<pthread_create>(3), "
-#| "B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3), "
-#| "B<pthread_key_create>(3), B<pthread_kill>(3), B<pthread_mutex_lock>(3), "
-#| "B<pthread_mutex_unlock>(3), B<pthread_once>(3), B<pthread_setcancelstate>"
-#| "(3), B<pthread_setcanceltype>(3), B<pthread_setspecific>(3), "
-#| "B<pthread_sigmask>(3), B<pthread_sigqueue>(3), and B<pthread_testcancel>"
-#| "(3)"
msgid ""
"Various Pthreads manual pages, for example: B<pthread_attr_init>(3), "
"B<pthread_atfork>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3), "
"(3), B<pthread_setcanceltype>(3), B<pthread_setspecific>(3), "
"B<pthread_sigmask>(3), B<pthread_sigqueue>(3), and B<pthread_testcancel>(3)"
msgstr ""
-"および Pthreads の各種マニュアルページ、例えば: B<pthread_attr_init>(3),\n"
+"pthreads の各種マニュアルページ、例えば: B<pthread_attr_init>(3),\n"
"B<pthread_atfork>(3), B<pthread_cancel>(3), B<pthread_cleanup_push>(3),\n"
"B<pthread_cond_signal>(3), B<pthread_cond_wait>(3), B<pthread_create>(3),\n"
"B<pthread_detach>(3), B<pthread_equal>(3), B<pthread_exit>(3),\n"
"B<pthread_setspecific>(3), B<pthread_sigmask>(3), B<pthread_sigqueue>(3),\n"
"and B<pthread_testcancel>(3)"
-#~ msgid "2009-03-31"
-#~ msgstr "2009-03-31"
-
-#~ msgid ""
-#~ "B<getcontext>(2), B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), "
-#~ "B<sigsetjmp>(3)"
-#~ msgstr ""
-#~ "B<getcontext>(2), B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), "
-#~ "B<sigsetjmp>(3)"
-
-#~ msgid "2009-01-28"
-#~ msgstr "2009-01-28"
+#~ msgid "2009-03-15"
+#~ msgstr "2009-03-15"
-#~ msgid "2011-10-16"
-#~ msgstr "2011-10-16"
+#~ msgid "2013-02-12"
+#~ msgstr "2013-02-12"
-#~ msgid "2011-09-23"
-#~ msgstr "2011-09-23"
+#~ msgid "2010-02-03"
+#~ msgstr "2010-02-03"