X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=po4a%2Fpthread%2Fpo%2Fja.po;h=dfefa51b0b36a778f331ae59f5cc3ca63d498533;hb=8a7f723a0530d2fb90ab139c03452e84d1e19905;hp=02b16b33a4bcf966234df9af3e730adc71e9258d;hpb=e9e6c106d11bd9cca5f4a6585364b93f5ae3007a;p=linuxjm%2FLDP_man-pages.git diff --git a/po4a/pthread/po/ja.po b/po4a/pthread/po/ja.po index 02b16b33..dfefa51b 100644 --- a/po4a/pthread/po/ja.po +++ b/po4a/pthread/po/ja.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2012-05-28 07:16+0900\n" +"POT-Creation-Date: 2013-03-22 01:06+0900\n" "PO-Revision-Date: 2012-06-04 23:34+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,202 +16,207 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. type: TH -#: build/C/man2/getcontext.2:23 +#: build/C/man3/getcontext.3:25 #, no-wrap msgid "GETCONTEXT" msgstr "GETCONTEXT" #. type: TH -#: build/C/man2/getcontext.2:23 +#: build/C/man3/getcontext.3:25 #, no-wrap msgid "2009-03-15" msgstr "2009-03-15" #. type: TH -#: build/C/man2/getcontext.2:23 build/C/man3/pthread_attr_init.3:24 -#: build/C/man3/pthread_attr_setaffinity_np.3:24 -#: build/C/man3/pthread_attr_setdetachstate.3:24 -#: build/C/man3/pthread_attr_setguardsize.3:24 -#: build/C/man3/pthread_attr_setinheritsched.3:24 -#: build/C/man3/pthread_attr_setschedparam.3:24 -#: build/C/man3/pthread_attr_setschedpolicy.3:24 -#: build/C/man3/pthread_attr_setscope.3:24 -#: build/C/man3/pthread_attr_setstack.3:24 -#: build/C/man3/pthread_attr_setstackaddr.3:24 -#: build/C/man3/pthread_attr_setstacksize.3:24 -#: build/C/man3/pthread_cancel.3:24 build/C/man3/pthread_cleanup_push.3:24 -#: build/C/man3/pthread_cleanup_push_defer_np.3:24 -#: build/C/man3/pthread_create.3:24 build/C/man3/pthread_detach.3:24 -#: build/C/man3/pthread_equal.3:24 build/C/man3/pthread_exit.3:24 -#: build/C/man3/pthread_getattr_np.3:24 -#: build/C/man3/pthread_getcpuclockid.3:24 build/C/man3/pthread_join.3:24 -#: build/C/man3/pthread_kill.3:24 -#: build/C/man3/pthread_kill_other_threads_np.3:24 -#: build/C/man3/pthread_self.3:24 build/C/man3/pthread_setaffinity_np.3:24 -#: build/C/man3/pthread_setcancelstate.3:24 -#: build/C/man3/pthread_setconcurrency.3:23 -#: build/C/man3/pthread_setschedparam.3:24 -#: build/C/man3/pthread_setschedprio.3:24 build/C/man3/pthread_sigmask.3:24 -#: build/C/man3/pthread_sigqueue.3:23 build/C/man3/pthread_testcancel.3:24 -#: build/C/man3/pthread_tryjoin_np.3:24 build/C/man3/pthread_yield.3:23 -#: build/C/man7/pthreads.7:24 +#: build/C/man3/getcontext.3:25 build/C/man3/pthread_attr_init.3:26 +#: build/C/man3/pthread_attr_setaffinity_np.3:26 +#: build/C/man3/pthread_attr_setdetachstate.3:26 +#: build/C/man3/pthread_attr_setguardsize.3:26 +#: build/C/man3/pthread_attr_setinheritsched.3:26 +#: build/C/man3/pthread_attr_setschedparam.3:26 +#: build/C/man3/pthread_attr_setschedpolicy.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_attr_setstacksize.3:26 +#: build/C/man3/pthread_cancel.3:26 build/C/man3/pthread_cleanup_push.3:26 +#: build/C/man3/pthread_cleanup_push_defer_np.3:26 +#: build/C/man3/pthread_create.3:26 build/C/man3/pthread_detach.3:26 +#: build/C/man3/pthread_equal.3:26 build/C/man3/pthread_exit.3:26 +#: build/C/man3/pthread_getattr_np.3:26 +#: build/C/man3/pthread_getcpuclockid.3:26 build/C/man3/pthread_join.3:26 +#: build/C/man3/pthread_kill.3:26 +#: build/C/man3/pthread_kill_other_threads_np.3:26 +#: build/C/man3/pthread_self.3:26 build/C/man3/pthread_setaffinity_np.3:26 +#: build/C/man3/pthread_setcancelstate.3:26 +#: build/C/man3/pthread_setconcurrency.3:25 +#: build/C/man3/pthread_setname_np.3:26 +#: build/C/man3/pthread_setschedparam.3:26 +#: build/C/man3/pthread_setschedprio.3:26 build/C/man3/pthread_sigmask.3:26 +#: build/C/man3/pthread_sigqueue.3:25 build/C/man3/pthread_testcancel.3:26 +#: build/C/man3/pthread_tryjoin_np.3:26 build/C/man3/pthread_yield.3:25 +#: build/C/man7/pthreads.7:26 #, no-wrap msgid "Linux" msgstr "Linux" #. type: TH -#: build/C/man2/getcontext.2:23 build/C/man3/makecontext.3:25 -#: build/C/man3/pthread_attr_init.3:24 -#: build/C/man3/pthread_attr_setaffinity_np.3:24 -#: build/C/man3/pthread_attr_setdetachstate.3:24 -#: build/C/man3/pthread_attr_setguardsize.3:24 -#: build/C/man3/pthread_attr_setinheritsched.3:24 -#: build/C/man3/pthread_attr_setschedparam.3:24 -#: build/C/man3/pthread_attr_setschedpolicy.3:24 -#: build/C/man3/pthread_attr_setscope.3:24 -#: build/C/man3/pthread_attr_setstack.3:24 -#: build/C/man3/pthread_attr_setstackaddr.3:24 -#: build/C/man3/pthread_attr_setstacksize.3:24 -#: build/C/man3/pthread_cancel.3:24 build/C/man3/pthread_cleanup_push.3:24 -#: build/C/man3/pthread_cleanup_push_defer_np.3:24 -#: build/C/man3/pthread_create.3:24 build/C/man3/pthread_detach.3:24 -#: build/C/man3/pthread_equal.3:24 build/C/man3/pthread_exit.3:24 -#: build/C/man3/pthread_getattr_np.3:24 -#: build/C/man3/pthread_getcpuclockid.3:24 build/C/man3/pthread_join.3:24 -#: build/C/man3/pthread_kill.3:24 -#: build/C/man3/pthread_kill_other_threads_np.3:24 -#: build/C/man3/pthread_self.3:24 build/C/man3/pthread_setaffinity_np.3:24 -#: build/C/man3/pthread_setcancelstate.3:24 -#: build/C/man3/pthread_setconcurrency.3:23 -#: build/C/man3/pthread_setschedparam.3:24 -#: build/C/man3/pthread_setschedprio.3:24 build/C/man3/pthread_sigmask.3:24 -#: build/C/man3/pthread_sigqueue.3:23 build/C/man3/pthread_testcancel.3:24 -#: build/C/man3/pthread_tryjoin_np.3:24 build/C/man3/pthread_yield.3:23 -#: build/C/man7/pthreads.7:24 +#: build/C/man3/getcontext.3:25 build/C/man3/makecontext.3:28 +#: build/C/man3/pthread_attr_init.3:26 +#: build/C/man3/pthread_attr_setaffinity_np.3:26 +#: build/C/man3/pthread_attr_setdetachstate.3:26 +#: build/C/man3/pthread_attr_setguardsize.3:26 +#: build/C/man3/pthread_attr_setinheritsched.3:26 +#: build/C/man3/pthread_attr_setschedparam.3:26 +#: build/C/man3/pthread_attr_setschedpolicy.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_attr_setstacksize.3:26 +#: build/C/man3/pthread_cancel.3:26 build/C/man3/pthread_cleanup_push.3:26 +#: build/C/man3/pthread_cleanup_push_defer_np.3:26 +#: build/C/man3/pthread_create.3:26 build/C/man3/pthread_detach.3:26 +#: build/C/man3/pthread_equal.3:26 build/C/man3/pthread_exit.3:26 +#: build/C/man3/pthread_getattr_np.3:26 +#: build/C/man3/pthread_getcpuclockid.3:26 build/C/man3/pthread_join.3:26 +#: build/C/man3/pthread_kill.3:26 +#: build/C/man3/pthread_kill_other_threads_np.3:26 +#: build/C/man3/pthread_self.3:26 build/C/man3/pthread_setaffinity_np.3:26 +#: build/C/man3/pthread_setcancelstate.3:26 +#: build/C/man3/pthread_setconcurrency.3:25 +#: build/C/man3/pthread_setname_np.3:26 +#: build/C/man3/pthread_setschedparam.3:26 +#: build/C/man3/pthread_setschedprio.3:26 build/C/man3/pthread_sigmask.3:26 +#: build/C/man3/pthread_sigqueue.3:25 build/C/man3/pthread_testcancel.3:26 +#: build/C/man3/pthread_tryjoin_np.3:26 build/C/man3/pthread_yield.3:25 +#: build/C/man7/pthreads.7:26 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux Programmer's Manual" #. type: SH -#: build/C/man2/getcontext.2:24 build/C/man3/makecontext.3:26 -#: build/C/man3/pthread_attr_init.3:25 -#: build/C/man3/pthread_attr_setaffinity_np.3:25 -#: build/C/man3/pthread_attr_setdetachstate.3:25 -#: build/C/man3/pthread_attr_setguardsize.3:25 -#: build/C/man3/pthread_attr_setinheritsched.3:25 -#: build/C/man3/pthread_attr_setschedparam.3:25 -#: build/C/man3/pthread_attr_setschedpolicy.3:25 -#: build/C/man3/pthread_attr_setscope.3:25 -#: build/C/man3/pthread_attr_setstack.3:25 -#: build/C/man3/pthread_attr_setstackaddr.3:25 -#: build/C/man3/pthread_attr_setstacksize.3:25 -#: build/C/man3/pthread_cancel.3:25 build/C/man3/pthread_cleanup_push.3:25 -#: build/C/man3/pthread_cleanup_push_defer_np.3:25 -#: build/C/man3/pthread_create.3:25 build/C/man3/pthread_detach.3:25 -#: build/C/man3/pthread_equal.3:25 build/C/man3/pthread_exit.3:25 -#: build/C/man3/pthread_getattr_np.3:25 -#: build/C/man3/pthread_getcpuclockid.3:25 build/C/man3/pthread_join.3:25 -#: build/C/man3/pthread_kill.3:25 -#: build/C/man3/pthread_kill_other_threads_np.3:25 -#: build/C/man3/pthread_self.3:25 build/C/man3/pthread_setaffinity_np.3:25 -#: build/C/man3/pthread_setcancelstate.3:25 -#: build/C/man3/pthread_setconcurrency.3:24 -#: build/C/man3/pthread_setschedparam.3:25 -#: build/C/man3/pthread_setschedprio.3:25 build/C/man3/pthread_sigmask.3:25 -#: build/C/man3/pthread_sigqueue.3:24 build/C/man3/pthread_testcancel.3:25 -#: build/C/man3/pthread_tryjoin_np.3:25 build/C/man3/pthread_yield.3:24 -#: build/C/man7/pthreads.7:25 +#: build/C/man3/getcontext.3:26 build/C/man3/makecontext.3:29 +#: build/C/man3/pthread_attr_init.3:27 +#: build/C/man3/pthread_attr_setaffinity_np.3:27 +#: build/C/man3/pthread_attr_setdetachstate.3:27 +#: build/C/man3/pthread_attr_setguardsize.3:27 +#: build/C/man3/pthread_attr_setinheritsched.3:27 +#: build/C/man3/pthread_attr_setschedparam.3:27 +#: build/C/man3/pthread_attr_setschedpolicy.3:27 +#: build/C/man3/pthread_attr_setscope.3:27 +#: build/C/man3/pthread_attr_setstack.3:27 +#: build/C/man3/pthread_attr_setstackaddr.3:27 +#: build/C/man3/pthread_attr_setstacksize.3:27 +#: build/C/man3/pthread_cancel.3:27 build/C/man3/pthread_cleanup_push.3:27 +#: build/C/man3/pthread_cleanup_push_defer_np.3:27 +#: build/C/man3/pthread_create.3:27 build/C/man3/pthread_detach.3:27 +#: build/C/man3/pthread_equal.3:27 build/C/man3/pthread_exit.3:27 +#: build/C/man3/pthread_getattr_np.3:27 +#: build/C/man3/pthread_getcpuclockid.3:27 build/C/man3/pthread_join.3:27 +#: build/C/man3/pthread_kill.3:27 +#: build/C/man3/pthread_kill_other_threads_np.3:27 +#: build/C/man3/pthread_self.3:27 build/C/man3/pthread_setaffinity_np.3:27 +#: build/C/man3/pthread_setcancelstate.3:27 +#: build/C/man3/pthread_setconcurrency.3:26 +#: build/C/man3/pthread_setname_np.3:27 +#: build/C/man3/pthread_setschedparam.3:27 +#: build/C/man3/pthread_setschedprio.3:27 build/C/man3/pthread_sigmask.3:27 +#: build/C/man3/pthread_sigqueue.3:26 build/C/man3/pthread_testcancel.3:27 +#: build/C/man3/pthread_tryjoin_np.3:27 build/C/man3/pthread_yield.3:26 +#: build/C/man7/pthreads.7:27 #, no-wrap msgid "NAME" msgstr "名前" #. type: Plain text -#: build/C/man2/getcontext.2:26 +#: build/C/man3/getcontext.3:28 msgid "getcontext, setcontext - get or set the user context" msgstr "getcontext, setcontext - ユーザコンテキストを取得/設定する" #. type: SH -#: build/C/man2/getcontext.2:26 build/C/man3/makecontext.3:28 -#: build/C/man3/pthread_attr_init.3:28 -#: build/C/man3/pthread_attr_setaffinity_np.3:28 -#: build/C/man3/pthread_attr_setdetachstate.3:28 -#: build/C/man3/pthread_attr_setguardsize.3:28 -#: build/C/man3/pthread_attr_setinheritsched.3:28 -#: build/C/man3/pthread_attr_setschedparam.3:28 -#: build/C/man3/pthread_attr_setschedpolicy.3:28 -#: build/C/man3/pthread_attr_setscope.3:28 -#: build/C/man3/pthread_attr_setstack.3:28 -#: build/C/man3/pthread_attr_setstackaddr.3:28 -#: build/C/man3/pthread_attr_setstacksize.3:28 -#: build/C/man3/pthread_cancel.3:27 build/C/man3/pthread_cleanup_push.3:28 -#: build/C/man3/pthread_cleanup_push_defer_np.3:28 -#: build/C/man3/pthread_create.3:27 build/C/man3/pthread_detach.3:27 -#: build/C/man3/pthread_equal.3:27 build/C/man3/pthread_exit.3:27 -#: build/C/man3/pthread_getattr_np.3:27 -#: build/C/man3/pthread_getcpuclockid.3:27 build/C/man3/pthread_join.3:27 -#: build/C/man3/pthread_kill.3:27 -#: build/C/man3/pthread_kill_other_threads_np.3:27 -#: build/C/man3/pthread_self.3:27 build/C/man3/pthread_setaffinity_np.3:28 -#: build/C/man3/pthread_setcancelstate.3:28 -#: build/C/man3/pthread_setconcurrency.3:27 -#: build/C/man3/pthread_setschedparam.3:28 -#: build/C/man3/pthread_setschedprio.3:27 build/C/man3/pthread_sigmask.3:27 -#: build/C/man3/pthread_sigqueue.3:26 build/C/man3/pthread_testcancel.3:27 -#: build/C/man3/pthread_tryjoin_np.3:28 build/C/man3/pthread_yield.3:26 +#: build/C/man3/getcontext.3:28 build/C/man3/makecontext.3:31 +#: build/C/man3/pthread_attr_init.3:30 +#: build/C/man3/pthread_attr_setaffinity_np.3:30 +#: build/C/man3/pthread_attr_setdetachstate.3:30 +#: build/C/man3/pthread_attr_setguardsize.3:30 +#: build/C/man3/pthread_attr_setinheritsched.3:30 +#: build/C/man3/pthread_attr_setschedparam.3:30 +#: build/C/man3/pthread_attr_setschedpolicy.3:30 +#: build/C/man3/pthread_attr_setscope.3:30 +#: build/C/man3/pthread_attr_setstack.3:30 +#: build/C/man3/pthread_attr_setstackaddr.3:30 +#: build/C/man3/pthread_attr_setstacksize.3:30 +#: build/C/man3/pthread_cancel.3:29 build/C/man3/pthread_cleanup_push.3:30 +#: build/C/man3/pthread_cleanup_push_defer_np.3:30 +#: build/C/man3/pthread_create.3:29 build/C/man3/pthread_detach.3:29 +#: build/C/man3/pthread_equal.3:29 build/C/man3/pthread_exit.3:29 +#: build/C/man3/pthread_getattr_np.3:29 +#: build/C/man3/pthread_getcpuclockid.3:29 build/C/man3/pthread_join.3:29 +#: build/C/man3/pthread_kill.3:29 +#: build/C/man3/pthread_kill_other_threads_np.3:29 +#: build/C/man3/pthread_self.3:29 build/C/man3/pthread_setaffinity_np.3:30 +#: build/C/man3/pthread_setcancelstate.3:30 +#: build/C/man3/pthread_setconcurrency.3:29 +#: build/C/man3/pthread_setname_np.3:29 +#: build/C/man3/pthread_setschedparam.3:30 +#: build/C/man3/pthread_setschedprio.3:29 build/C/man3/pthread_sigmask.3:29 +#: build/C/man3/pthread_sigqueue.3:28 build/C/man3/pthread_testcancel.3:29 +#: build/C/man3/pthread_tryjoin_np.3:30 build/C/man3/pthread_yield.3:28 #, no-wrap msgid "SYNOPSIS" msgstr "書式" #. type: Plain text -#: build/C/man2/getcontext.2:28 build/C/man3/makecontext.3:30 +#: build/C/man3/getcontext.3:30 build/C/man3/makecontext.3:33 msgid "B<#include Eucontext.hE>" msgstr "B<#include Eucontext.hE>" #. type: Plain text -#: build/C/man2/getcontext.2:30 +#: build/C/man3/getcontext.3:32 msgid "BIB<);>" msgstr "BIB<);>" #. type: Plain text -#: build/C/man2/getcontext.2:32 +#: build/C/man3/getcontext.3:34 msgid "BIB<);>" msgstr "BIB<);>" #. type: SH -#: build/C/man2/getcontext.2:32 build/C/man3/makecontext.3:35 -#: build/C/man3/pthread_attr_init.3:37 -#: build/C/man3/pthread_attr_setaffinity_np.3:40 -#: build/C/man3/pthread_attr_setdetachstate.3:39 -#: build/C/man3/pthread_attr_setguardsize.3:39 -#: build/C/man3/pthread_attr_setinheritsched.3:39 -#: build/C/man3/pthread_attr_setschedparam.3:39 -#: build/C/man3/pthread_attr_setschedpolicy.3:39 -#: build/C/man3/pthread_attr_setscope.3:39 -#: build/C/man3/pthread_attr_setstack.3:52 -#: build/C/man3/pthread_attr_setstackaddr.3:39 -#: build/C/man3/pthread_attr_setstacksize.3:39 -#: build/C/man3/pthread_cancel.3:35 build/C/man3/pthread_cleanup_push.3:38 -#: build/C/man3/pthread_cleanup_push_defer_np.3:38 -#: build/C/man3/pthread_create.3:36 build/C/man3/pthread_detach.3:35 -#: build/C/man3/pthread_equal.3:35 build/C/man3/pthread_exit.3:35 -#: build/C/man3/pthread_getattr_np.3:36 -#: build/C/man3/pthread_getcpuclockid.3:36 build/C/man3/pthread_join.3:35 -#: build/C/man3/pthread_kill.3:35 -#: build/C/man3/pthread_kill_other_threads_np.3:33 -#: build/C/man3/pthread_self.3:35 build/C/man3/pthread_setaffinity_np.3:40 -#: build/C/man3/pthread_setcancelstate.3:37 -#: build/C/man3/pthread_setconcurrency.3:36 -#: build/C/man3/pthread_setschedparam.3:39 -#: build/C/man3/pthread_setschedprio.3:35 build/C/man3/pthread_sigmask.3:36 -#: build/C/man3/pthread_sigqueue.3:43 build/C/man3/pthread_testcancel.3:35 -#: build/C/man3/pthread_tryjoin_np.3:40 build/C/man3/pthread_yield.3:34 -#: build/C/man7/pthreads.7:27 +#: build/C/man3/getcontext.3:34 build/C/man3/makecontext.3:38 +#: build/C/man3/pthread_attr_init.3:39 +#: build/C/man3/pthread_attr_setaffinity_np.3:42 +#: build/C/man3/pthread_attr_setdetachstate.3:41 +#: build/C/man3/pthread_attr_setguardsize.3:41 +#: build/C/man3/pthread_attr_setinheritsched.3:41 +#: build/C/man3/pthread_attr_setschedparam.3:41 +#: build/C/man3/pthread_attr_setschedpolicy.3:41 +#: build/C/man3/pthread_attr_setscope.3:41 +#: build/C/man3/pthread_attr_setstack.3:54 +#: build/C/man3/pthread_attr_setstackaddr.3:41 +#: build/C/man3/pthread_attr_setstacksize.3:41 +#: build/C/man3/pthread_cancel.3:37 build/C/man3/pthread_cleanup_push.3:40 +#: build/C/man3/pthread_cleanup_push_defer_np.3:40 +#: build/C/man3/pthread_create.3:38 build/C/man3/pthread_detach.3:37 +#: 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_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_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 #, no-wrap msgid "DESCRIPTION" msgstr "説明" #. type: Plain text -#: build/C/man2/getcontext.2:44 +#: build/C/man3/getcontext.3:46 msgid "" "In a System V-like environment, one has the two types I and " "I defined in Iucontext.hE> and the four functions " @@ -226,7 +231,7 @@ msgstr "" "ようになっている。" #. type: Plain text -#: build/C/man2/getcontext.2:48 +#: build/C/man3/getcontext.3:50 msgid "" "The I type is machine-dependent and opaque. The I " "type is a structure that has at least the following fields:" @@ -235,7 +240,7 @@ msgstr "" "構造体で、少なくとも以下の 4 つのフィールドを持つ。" #. type: Plain text -#: build/C/man2/getcontext.2:58 +#: build/C/man3/getcontext.3:60 #, no-wrap msgid "" "typedef struct ucontext {\n" @@ -255,7 +260,7 @@ msgstr "" "} ucontext_t;\n" #. type: Plain text -#: build/C/man2/getcontext.2:75 +#: build/C/man3/getcontext.3:77 msgid "" "with I and I defined in Isignal.hE>. Here " "I points to the context that will be resumed when the current " @@ -276,7 +281,7 @@ msgstr "" "ンレジスタが格納される。" #. type: Plain text -#: build/C/man2/getcontext.2:80 +#: build/C/man3/getcontext.3:82 msgid "" "The function B() initializes the structure pointed at by I " "to the currently active context." @@ -285,7 +290,7 @@ msgstr "" "ンテキストに初期化する。" #. type: Plain text -#: build/C/man2/getcontext.2:92 +#: build/C/man3/getcontext.3:94 msgid "" "The function B() restores the user context pointed at by " "I. A successful call does not return. The context should have been " @@ -298,7 +303,7 @@ msgstr "" "して与えられたものになる。" #. type: Plain text -#: build/C/man2/getcontext.2:96 +#: build/C/man3/getcontext.3:98 msgid "" "If the context was obtained by a call of B(), program execution " "continues as if this call just returned." @@ -307,7 +312,7 @@ msgstr "" "プログラムはこの呼び出しから返った直後からのように実行を継続する。" #. type: Plain text -#: build/C/man2/getcontext.2:107 +#: build/C/man3/getcontext.3:109 msgid "" "If the context was obtained by a call of B(3), program " "execution continues by a call to the function I specified as the " @@ -323,7 +328,7 @@ msgstr "" "続する。 このメンバが NULL だった場合は、そのスレッドは終了する。" #. type: Plain text -#: build/C/man2/getcontext.2:114 +#: build/C/man3/getcontext.3:116 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 " @@ -337,37 +342,38 @@ msgstr "" "は定義されていない」である。" #. type: SH -#: build/C/man2/getcontext.2:114 build/C/man3/makecontext.3:81 -#: build/C/man3/pthread_attr_init.3:66 -#: build/C/man3/pthread_attr_setaffinity_np.3:74 -#: build/C/man3/pthread_attr_setdetachstate.3:75 -#: build/C/man3/pthread_attr_setguardsize.3:88 -#: build/C/man3/pthread_attr_setinheritsched.3:82 -#: build/C/man3/pthread_attr_setschedparam.3:72 -#: build/C/man3/pthread_attr_setschedpolicy.3:70 -#: build/C/man3/pthread_attr_setscope.3:89 -#: build/C/man3/pthread_attr_setstack.3:83 -#: build/C/man3/pthread_attr_setstackaddr.3:72 -#: build/C/man3/pthread_attr_setstacksize.3:59 -#: build/C/man3/pthread_cancel.3:107 build/C/man3/pthread_cleanup_push.3:117 -#: build/C/man3/pthread_create.3:113 build/C/man3/pthread_detach.3:47 -#: build/C/man3/pthread_equal.3:39 build/C/man3/pthread_exit.3:69 -#: build/C/man3/pthread_getattr_np.3:71 -#: build/C/man3/pthread_getcpuclockid.3:44 build/C/man3/pthread_join.3:68 -#: build/C/man3/pthread_kill.3:50 build/C/man3/pthread_self.3:44 -#: build/C/man3/pthread_setaffinity_np.3:75 -#: build/C/man3/pthread_setcancelstate.3:90 -#: build/C/man3/pthread_setconcurrency.3:54 -#: build/C/man3/pthread_setschedparam.3:102 -#: build/C/man3/pthread_setschedprio.3:51 build/C/man3/pthread_sigmask.3:47 -#: build/C/man3/pthread_sigqueue.3:63 build/C/man3/pthread_testcancel.3:48 -#: build/C/man3/pthread_tryjoin_np.3:83 build/C/man3/pthread_yield.3:41 +#: build/C/man3/getcontext.3:116 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_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_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_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_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 msgid "RETURN VALUE" msgstr "返り値" #. type: Plain text -#: build/C/man2/getcontext.2:122 +#: build/C/man3/getcontext.3:124 msgid "" "When successful, B() returns 0 and B() does not " "return. On error, both return -1 and set I appropriately." @@ -376,112 +382,115 @@ msgstr "" "敗すると、両者とも -1 を返し、I をエラーに応じて設定する。" #. type: SH -#: build/C/man2/getcontext.2:122 build/C/man3/makecontext.3:93 -#: build/C/man3/pthread_attr_init.3:69 -#: build/C/man3/pthread_attr_setaffinity_np.3:77 -#: build/C/man3/pthread_attr_setdetachstate.3:78 -#: build/C/man3/pthread_attr_setguardsize.3:91 -#: build/C/man3/pthread_attr_setinheritsched.3:85 -#: build/C/man3/pthread_attr_setschedparam.3:75 -#: build/C/man3/pthread_attr_setschedpolicy.3:73 -#: build/C/man3/pthread_attr_setscope.3:92 -#: build/C/man3/pthread_attr_setstack.3:86 -#: build/C/man3/pthread_attr_setstackaddr.3:75 -#: build/C/man3/pthread_attr_setstacksize.3:62 -#: build/C/man3/pthread_cancel.3:112 build/C/man3/pthread_cleanup_push.3:119 -#: build/C/man3/pthread_create.3:120 build/C/man3/pthread_detach.3:52 -#: build/C/man3/pthread_equal.3:43 build/C/man3/pthread_exit.3:71 -#: build/C/man3/pthread_getattr_np.3:74 -#: build/C/man3/pthread_getcpuclockid.3:47 build/C/man3/pthread_join.3:73 -#: build/C/man3/pthread_kill.3:55 build/C/man3/pthread_self.3:46 -#: build/C/man3/pthread_setaffinity_np.3:78 -#: build/C/man3/pthread_setcancelstate.3:93 -#: build/C/man3/pthread_setconcurrency.3:66 -#: build/C/man3/pthread_setschedparam.3:110 -#: build/C/man3/pthread_setschedprio.3:59 build/C/man3/pthread_sigmask.3:52 -#: build/C/man3/pthread_sigqueue.3:68 build/C/man3/pthread_testcancel.3:52 -#: build/C/man3/pthread_tryjoin_np.3:87 build/C/man3/pthread_yield.3:46 +#: build/C/man3/getcontext.3:124 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_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_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_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_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 msgid "ERRORS" msgstr "エラー" #. type: Plain text -#: build/C/man2/getcontext.2:124 +#: build/C/man3/getcontext.3:126 msgid "None defined." msgstr "定義されていない。" #. type: SH -#: build/C/man2/getcontext.2:124 build/C/man3/makecontext.3:102 -#: build/C/man3/pthread_attr_init.3:77 -#: build/C/man3/pthread_attr_setaffinity_np.3:106 -#: build/C/man3/pthread_attr_setdetachstate.3:85 -#: build/C/man3/pthread_attr_setguardsize.3:104 -#: build/C/man3/pthread_attr_setinheritsched.3:99 -#: build/C/man3/pthread_attr_setschedparam.3:87 -#: build/C/man3/pthread_attr_setschedpolicy.3:87 -#: build/C/man3/pthread_attr_setscope.3:105 -#: build/C/man3/pthread_attr_setstack.3:110 -#: build/C/man3/pthread_attr_setstackaddr.3:81 -#: build/C/man3/pthread_attr_setstacksize.3:81 -#: build/C/man3/pthread_cancel.3:120 build/C/man3/pthread_cleanup_push.3:123 -#: build/C/man3/pthread_cleanup_push_defer_np.3:99 -#: build/C/man3/pthread_create.3:144 build/C/man3/pthread_detach.3:62 -#: build/C/man3/pthread_equal.3:45 build/C/man3/pthread_exit.3:73 -#: build/C/man3/pthread_getattr_np.3:96 -#: build/C/man3/pthread_getcpuclockid.3:63 build/C/man3/pthread_join.3:96 -#: build/C/man3/pthread_kill.3:64 -#: build/C/man3/pthread_kill_other_threads_np.3:45 -#: build/C/man3/pthread_self.3:48 build/C/man3/pthread_setaffinity_np.3:119 -#: build/C/man3/pthread_setcancelstate.3:111 -#: build/C/man3/pthread_setconcurrency.3:81 -#: build/C/man3/pthread_setschedparam.3:139 -#: build/C/man3/pthread_setschedprio.3:81 build/C/man3/pthread_sigmask.3:55 -#: build/C/man3/pthread_sigqueue.3:91 build/C/man3/pthread_testcancel.3:56 -#: build/C/man3/pthread_tryjoin_np.3:110 build/C/man3/pthread_yield.3:50 -#, no-wrap -msgid "CONFORMING TO" -msgstr "準拠" - -#. type: Plain text -#: build/C/man2/getcontext.2:130 -msgid "" -"SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specification of B" -"(), citing portability issues, and recommending that applications be " -"rewritten to use POSIX threads instead." -msgstr "" -"SUSv2, POSIX.1-2001. POSIX.1-2008 では、移植性の問題から B() の" -"仕様が削除された。 代わりに、アプリケーションを POSIX スレッドを使って書き直" -"すことが 推奨されている。" - -#. type: SH -#: build/C/man2/getcontext.2:130 build/C/man3/makecontext.3:110 +#: 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:109 +#: build/C/man3/pthread_attr_setaffinity_np.3:108 #: 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 #: build/C/man3/pthread_attr_setstack.3:112 -#: build/C/man3/pthread_attr_setstackaddr.3:84 +#: 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_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_other_threads_np.3:48 -#: build/C/man3/pthread_self.3:50 build/C/man3/pthread_setaffinity_np.3:122 +#: 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_yield.3:56 +#: 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 +msgid "CONFORMING TO" +msgstr "準拠" + +#. type: Plain text +#: build/C/man3/getcontext.3:132 +msgid "" +"SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specification of B" +"(), citing portability issues, and recommending that applications be " +"rewritten to use POSIX threads instead." +msgstr "" +"SUSv2, POSIX.1-2001. POSIX.1-2008 では、移植性の問題から B() の" +"仕様が削除された。 代わりに、アプリケーションを POSIX スレッドを使って書き直" +"すことが 推奨されている。" + +#. type: SH +#: build/C/man3/getcontext.3:132 build/C/man3/makecontext.3:113 +#: 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_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_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_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_yield.3:59 #, no-wrap msgid "NOTES" msgstr "注意" #. type: Plain text -#: build/C/man2/getcontext.2:147 +#: build/C/man3/getcontext.3:149 msgid "" "The earliest incarnation of this mechanism was the B(3)/B" "(3) mechanism. Since that does not define the handling of the signal " @@ -502,7 +511,7 @@ msgstr "" "くれない。" #. type: Plain text -#: build/C/man2/getcontext.2:158 +#: build/C/man3/getcontext.3:160 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 " @@ -515,40 +524,41 @@ msgstr "" "代わりに B(3) か B() を使うこと。" #. type: SH -#: build/C/man2/getcontext.2:158 build/C/man3/makecontext.3:217 -#: build/C/man3/pthread_attr_init.3:295 -#: build/C/man3/pthread_attr_setaffinity_np.3:116 -#: build/C/man3/pthread_attr_setdetachstate.3:109 -#: build/C/man3/pthread_attr_setguardsize.3:156 -#: build/C/man3/pthread_attr_setinheritsched.3:120 -#: build/C/man3/pthread_attr_setschedparam.3:96 -#: build/C/man3/pthread_attr_setschedpolicy.3:92 -#: build/C/man3/pthread_attr_setscope.3:118 -#: build/C/man3/pthread_attr_setstack.3:154 -#: build/C/man3/pthread_attr_setstackaddr.3:108 -#: build/C/man3/pthread_attr_setstacksize.3:109 -#: build/C/man3/pthread_cancel.3:221 build/C/man3/pthread_cleanup_push.3:309 -#: build/C/man3/pthread_cleanup_push_defer_np.3:102 -#: build/C/man3/pthread_create.3:367 build/C/man3/pthread_detach.3:95 -#: build/C/man3/pthread_equal.3:54 build/C/man3/pthread_exit.3:103 -#: build/C/man3/pthread_getattr_np.3:343 -#: build/C/man3/pthread_getcpuclockid.3:167 build/C/man3/pthread_join.3:125 -#: build/C/man3/pthread_kill.3:73 -#: build/C/man3/pthread_kill_other_threads_np.3:64 -#: build/C/man3/pthread_self.3:74 build/C/man3/pthread_setaffinity_np.3:204 -#: build/C/man3/pthread_setcancelstate.3:175 -#: build/C/man3/pthread_setconcurrency.3:98 -#: build/C/man3/pthread_setschedparam.3:429 -#: build/C/man3/pthread_setschedprio.3:89 build/C/man3/pthread_sigmask.3:133 -#: build/C/man3/pthread_sigqueue.3:93 build/C/man3/pthread_testcancel.3:61 -#: build/C/man3/pthread_tryjoin_np.3:133 build/C/man3/pthread_yield.3:59 -#: build/C/man7/pthreads.7:893 +#: build/C/man3/getcontext.3:160 build/C/man3/makecontext.3:220 +#: 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_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_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_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_setschedparam.3:431 +#: build/C/man3/pthread_setschedprio.3:91 build/C/man3/pthread_sigmask.3:135 +#: 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 #, no-wrap msgid "SEE ALSO" msgstr "関連項目" #. type: Plain text -#: build/C/man2/getcontext.2:165 +#: build/C/man3/getcontext.3:167 msgid "" "B(2), B(2), B(2), B(3), " "B(3), B(3)" @@ -557,69 +567,76 @@ msgstr "" "B(3), B(3)" #. type: SH -#: build/C/man2/getcontext.2:165 build/C/man3/makecontext.3:223 -#: build/C/man3/pthread_attr_init.3:309 -#: build/C/man3/pthread_attr_setaffinity_np.3:122 -#: build/C/man3/pthread_attr_setdetachstate.3:115 -#: build/C/man3/pthread_attr_setguardsize.3:164 -#: build/C/man3/pthread_attr_setinheritsched.3:129 -#: build/C/man3/pthread_attr_setschedparam.3:106 -#: build/C/man3/pthread_attr_setschedpolicy.3:101 -#: build/C/man3/pthread_attr_setscope.3:126 -#: build/C/man3/pthread_attr_setstack.3:164 -#: build/C/man3/pthread_attr_setstackaddr.3:114 -#: build/C/man3/pthread_attr_setstacksize.3:116 -#: build/C/man3/pthread_cancel.3:231 build/C/man3/pthread_cleanup_push.3:315 -#: build/C/man3/pthread_cleanup_push_defer_np.3:108 -#: build/C/man3/pthread_create.3:378 build/C/man3/pthread_detach.3:102 -#: build/C/man3/pthread_equal.3:58 build/C/man3/pthread_exit.3:107 -#: build/C/man3/pthread_getattr_np.3:357 -#: build/C/man3/pthread_getcpuclockid.3:175 build/C/man3/pthread_join.3:132 -#: build/C/man3/pthread_kill.3:82 -#: build/C/man3/pthread_kill_other_threads_np.3:70 -#: build/C/man3/pthread_self.3:78 build/C/man3/pthread_setaffinity_np.3:212 -#: build/C/man3/pthread_setcancelstate.3:180 -#: build/C/man3/pthread_setconcurrency.3:101 -#: build/C/man3/pthread_setschedparam.3:441 -#: build/C/man3/pthread_setschedprio.3:101 build/C/man3/pthread_sigmask.3:142 -#: build/C/man3/pthread_sigqueue.3:101 build/C/man3/pthread_testcancel.3:66 -#: build/C/man3/pthread_tryjoin_np.3:138 build/C/man3/pthread_yield.3:63 -#: build/C/man7/pthreads.7:927 +#: build/C/man3/getcontext.3:167 build/C/man3/makecontext.3:226 +#: 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_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_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_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_setschedparam.3:445 +#: build/C/man3/pthread_setschedprio.3:105 build/C/man3/pthread_sigmask.3:144 +#: 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 #, no-wrap msgid "COLOPHON" msgstr "この文書について" #. type: Plain text -#: build/C/man2/getcontext.2:172 build/C/man3/makecontext.3:230 -#: build/C/man3/pthread_attr_init.3:316 -#: build/C/man3/pthread_attr_setaffinity_np.3:129 -#: build/C/man3/pthread_attr_setdetachstate.3:122 -#: build/C/man3/pthread_attr_setguardsize.3:171 -#: build/C/man3/pthread_attr_setinheritsched.3:136 -#: build/C/man3/pthread_attr_setschedparam.3:113 -#: build/C/man3/pthread_attr_setschedpolicy.3:108 -#: build/C/man3/pthread_attr_setscope.3:133 -#: build/C/man3/pthread_attr_setstack.3:171 -#: build/C/man3/pthread_attr_setstackaddr.3:121 -#: build/C/man3/pthread_attr_setstacksize.3:123 -#: build/C/man3/pthread_cancel.3:238 build/C/man3/pthread_cleanup_push.3:322 -#: build/C/man3/pthread_cleanup_push_defer_np.3:115 -#: build/C/man3/pthread_create.3:385 build/C/man3/pthread_detach.3:109 -#: build/C/man3/pthread_equal.3:65 build/C/man3/pthread_exit.3:114 -#: build/C/man3/pthread_getattr_np.3:364 -#: build/C/man3/pthread_getcpuclockid.3:182 build/C/man3/pthread_join.3:139 -#: build/C/man3/pthread_kill.3:89 -#: build/C/man3/pthread_kill_other_threads_np.3:77 -#: build/C/man3/pthread_self.3:85 build/C/man3/pthread_setaffinity_np.3:219 -#: build/C/man3/pthread_setcancelstate.3:187 -#: build/C/man3/pthread_setconcurrency.3:108 -#: build/C/man3/pthread_setschedparam.3:448 -#: build/C/man3/pthread_setschedprio.3:108 build/C/man3/pthread_sigmask.3:149 -#: build/C/man3/pthread_sigqueue.3:108 build/C/man3/pthread_testcancel.3:73 -#: build/C/man3/pthread_tryjoin_np.3:145 build/C/man3/pthread_yield.3:70 -#: build/C/man7/pthreads.7:934 -msgid "" -"This page is part of release 3.41 of the Linux I project. A " +#: build/C/man3/getcontext.3:174 build/C/man3/makecontext.3:233 +#: 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_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_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_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_setschedparam.3:452 +#: build/C/man3/pthread_setschedprio.3:112 build/C/man3/pthread_sigmask.3:151 +#: 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 project. A " +#| "description of the project, and information about reporting bugs, can be " +#| "found at http://www.kernel.org/doc/man-pages/." +msgid "" +"This page is part of release 3.50 of the Linux I project. A " "description of the project, and information about reporting bugs, can be " "found at http://www.kernel.org/doc/man-pages/." msgstr "" @@ -628,30 +645,31 @@ msgstr "" "http://www.kernel.org/doc/man-pages/ に書かれている。" #. type: TH -#: build/C/man3/makecontext.3:25 +#: build/C/man3/makecontext.3:28 #, no-wrap msgid "MAKECONTEXT" msgstr "MAKECONTEXT" #. type: TH -#: build/C/man3/makecontext.3:25 -#, no-wrap -msgid "2009-03-31" -msgstr "2009-03-31" +#: build/C/man3/makecontext.3:28 +#, fuzzy, no-wrap +#| msgid "2010-02-03" +msgid "2013-02-12" +msgstr "2010-02-03" #. type: TH -#: build/C/man3/makecontext.3:25 +#: build/C/man3/makecontext.3:28 #, no-wrap msgid "GNU" msgstr "GNU" #. type: Plain text -#: build/C/man3/makecontext.3:28 +#: build/C/man3/makecontext.3:31 msgid "makecontext, swapcontext - manipulate user context" msgstr "makecontext, swapcontext - ユーザコンテキストを操作する" #. type: Plain text -#: build/C/man3/makecontext.3:33 +#: build/C/man3/makecontext.3:36 msgid "" "BIB<, void (*>IB<)(),> BIB<, ...);>" @@ -660,16 +678,23 @@ msgstr "" ">IB<, ...);>" #. type: Plain text -#: build/C/man3/makecontext.3:35 +#: build/C/man3/makecontext.3:38 msgid "BIB<, ucontext_t *>IB<);>" msgstr "BIB<, ucontext_t *>IB<);>" #. type: Plain text -#: build/C/man3/makecontext.3:46 +#: build/C/man3/makecontext.3:49 +#, fuzzy +#| msgid "" +#| "In a System V-like environment, one has the type I defined in " +#| "Iucontext.hE> and the four functions B(2), " +#| "B(2), B() and B() 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 defined in " -"Iucontext.hE> and the four functions B(2), " -"B(2), B() and B() that allow user-" +"Iucontext.hE> and the four functions B(3), " +"B(3), B() and B() that allow user-" "level context switching between multiple threads of control within a process." msgstr "" "System V 的な環境では、 B および B という 2 つの型" @@ -679,16 +704,25 @@ msgstr "" "ようになっている。" #. type: Plain text -#: build/C/man3/makecontext.3:49 -msgid "For the type and the first two functions, see B(2)." +#: build/C/man3/makecontext.3:52 +#, fuzzy +#| msgid "For the type and the first two functions, see B(2)." +msgid "For the type and the first two functions, see B(3)." msgstr "" "これらの型と、最初の 2 つの関数については、 B(2) を参照のこと。" #. type: Plain text -#: build/C/man3/makecontext.3:61 +#: build/C/man3/makecontext.3:64 +#, fuzzy +#| msgid "" +#| "The B() function modifies the context pointed to by I " +#| "(which was obtained from a call to B(2)). Before invoking " +#| "B(), the caller must allocate a new stack for this context " +#| "and assign its address to Iuc_stack>, and define a successor " +#| "context and assign its address to Iuc_link>." msgid "" "The B() function modifies the context pointed to by I " -"(which was obtained from a call to B(2)). Before invoking " +"(which was obtained from a call to B(3)). Before invoking " "B(), the caller must allocate a new stack for this context and " "assign its address to Iuc_stack>, and define a successor context " "and assign its address to Iuc_link>." @@ -701,9 +735,17 @@ msgstr "" "らない。" #. type: Plain text -#: build/C/man3/makecontext.3:75 +#: build/C/man3/makecontext.3:78 +#, fuzzy +#| msgid "" +#| "When this context is later activated (using B(2) or " +#| "B()) the function I is called, and passed the series " +#| "of integer (I) arguments that follow I; the caller must " +#| "specify the number of these arguments in I. 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(2) or " +"When this context is later activated (using B(3) or " "B()) the function I is called, and passed the series of " "integer (I) arguments that follow I; the caller must specify the " "number of these arguments in I. When this function returns, the " @@ -717,7 +759,7 @@ msgstr "" "る。 後継コンテキストのポインタが NULL の場合、そのスレッドが終了する。" #. type: Plain text -#: build/C/man3/makecontext.3:81 +#: build/C/man3/makecontext.3:84 msgid "" "The B() function saves the current context in the structure " "pointed to by I, and then activates the context pointed to by I." @@ -726,7 +768,7 @@ msgstr "" "保存し、 ポインタ I が指すコンテキストを有効にする。" #. type: Plain text -#: build/C/man3/makecontext.3:93 +#: build/C/man3/makecontext.3:96 msgid "" "When successful, B() does not return. (But we may return " "later, in case I is activated, in which case it looks like " @@ -739,37 +781,38 @@ msgstr "" "て設定する。" #. type: TP -#: build/C/man3/makecontext.3:94 -#: build/C/man3/pthread_attr_setaffinity_np.3:100 -#: build/C/man3/pthread_getattr_np.3:75 +#: build/C/man3/makecontext.3:97 +#: build/C/man3/pthread_attr_setaffinity_np.3:102 +#: build/C/man3/pthread_getattr_np.3:77 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/makecontext.3:97 +#: build/C/man3/makecontext.3:100 msgid "Insufficient stack space left." msgstr "スタックに割り当てる空間が残っていない。" #. type: SH -#: build/C/man3/makecontext.3:97 -#: build/C/man3/pthread_attr_setaffinity_np.3:104 -#: build/C/man3/pthread_attr_setguardsize.3:102 -#: build/C/man3/pthread_attr_setstack.3:108 -#: build/C/man3/pthread_attr_setstackaddr.3:79 -#: build/C/man3/pthread_attr_setstacksize.3:79 -#: build/C/man3/pthread_getattr_np.3:94 -#: build/C/man3/pthread_getcpuclockid.3:61 -#: build/C/man3/pthread_setaffinity_np.3:117 -#: build/C/man3/pthread_setconcurrency.3:79 -#: build/C/man3/pthread_setschedprio.3:79 build/C/man3/pthread_sigqueue.3:87 -#: build/C/man3/pthread_tryjoin_np.3:108 +#: build/C/man3/makecontext.3:100 +#: build/C/man3/pthread_attr_setaffinity_np.3:106 +#: build/C/man3/pthread_attr_setguardsize.3:104 +#: build/C/man3/pthread_attr_setstack.3:110 +#: build/C/man3/pthread_attr_setstackaddr.3:81 +#: build/C/man3/pthread_attr_setstacksize.3:81 +#: build/C/man3/pthread_getattr_np.3:96 +#: build/C/man3/pthread_getcpuclockid.3:63 +#: build/C/man3/pthread_setaffinity_np.3:119 +#: build/C/man3/pthread_setconcurrency.3:81 +#: build/C/man3/pthread_setname_np.3:100 +#: build/C/man3/pthread_setschedprio.3:81 build/C/man3/pthread_sigqueue.3:89 +#: build/C/man3/pthread_tryjoin_np.3:110 #, no-wrap msgid "VERSIONS" msgstr "バージョン" #. type: Plain text -#: build/C/man3/makecontext.3:102 +#: build/C/man3/makecontext.3:105 msgid "" "B() and B() are provided in glibc since version " "2.1." @@ -778,7 +821,7 @@ msgstr "" "されている。" #. type: Plain text -#: build/C/man3/makecontext.3:110 +#: build/C/man3/makecontext.3:113 msgid "" "SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specifications of " "B() and B(), citing portability issues, and " @@ -789,7 +832,7 @@ msgstr "" "POSIX スレッドを使って書き直すことが 推奨されている。" #. type: Plain text -#: build/C/man3/makecontext.3:118 +#: build/C/man3/makecontext.3:121 msgid "" "The interpretation of Iuc_stack> is just as in B(2), " "namely, this struct contains the start and length of a memory area to be " @@ -802,7 +845,7 @@ msgstr "" "て、ユーザプログラムはこの件については心配しなくてよい。" #. type: Plain text -#: build/C/man3/makecontext.3:134 +#: build/C/man3/makecontext.3:137 msgid "" "On architectures where I 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 " @@ -823,30 +866,36 @@ msgstr "" "できるようになっている。" #. type: SH -#: build/C/man3/makecontext.3:134 build/C/man3/pthread_attr_init.3:85 -#: build/C/man3/pthread_attr_setdetachstate.3:106 -#: build/C/man3/pthread_attr_setguardsize.3:153 -#: build/C/man3/pthread_attr_setinheritsched.3:117 -#: build/C/man3/pthread_attr_setschedparam.3:93 -#: build/C/man3/pthread_attr_setschedpolicy.3:89 -#: build/C/man3/pthread_attr_setstack.3:151 -#: build/C/man3/pthread_attr_setstacksize.3:106 -#: build/C/man3/pthread_cancel.3:130 build/C/man3/pthread_cleanup_push.3:149 -#: build/C/man3/pthread_create.3:200 build/C/man3/pthread_detach.3:91 -#: build/C/man3/pthread_getattr_np.3:99 -#: build/C/man3/pthread_getcpuclockid.3:76 build/C/man3/pthread_join.3:122 -#: build/C/man3/pthread_setaffinity_np.3:152 -#: build/C/man3/pthread_setcancelstate.3:172 -#: build/C/man3/pthread_setschedparam.3:147 build/C/man3/pthread_sigmask.3:59 -#: build/C/man3/pthread_testcancel.3:58 build/C/man3/pthread_tryjoin_np.3:113 +#: 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/pthread_attr_setstacksize.3:108 +#: build/C/man3/pthread_cancel.3:132 build/C/man3/pthread_cleanup_push.3:151 +#: 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_testcancel.3:60 build/C/man3/pthread_tryjoin_np.3:115 #, no-wrap msgid "EXAMPLE" msgstr "例" #. type: Plain text -#: build/C/man3/makecontext.3:142 +#: build/C/man3/makecontext.3:145 +#, fuzzy +#| msgid "" +#| "The example program below demonstrates the use of B(2), " +#| "B(), and B(). Running the program produces the " +#| "following output:" msgid "" -"The example program below demonstrates the use of B(2), " +"The example program below demonstrates the use of B(3), " "B(), and B(). Running the program produces the " "following output:" msgstr "" @@ -855,7 +904,7 @@ msgstr "" "と、以下のような出力が得られる:" #. type: Plain text -#: build/C/man3/makecontext.3:154 +#: build/C/man3/makecontext.3:157 #, no-wrap msgid "" "$B< ./a.out>\n" @@ -879,17 +928,18 @@ msgstr "" "main: exiting\n" #. type: SS -#: build/C/man3/makecontext.3:156 build/C/man3/pthread_attr_init.3:146 -#: build/C/man3/pthread_cancel.3:146 build/C/man3/pthread_cleanup_push.3:225 -#: build/C/man3/pthread_create.3:239 build/C/man3/pthread_getattr_np.3:177 -#: build/C/man3/pthread_getcpuclockid.3:93 -#: build/C/man3/pthread_setschedparam.3:222 build/C/man3/pthread_sigmask.3:77 +#: 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/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 #, no-wrap msgid "Program source" msgstr "プログラムのソース" #. type: Plain text -#: build/C/man3/makecontext.3:162 +#: build/C/man3/makecontext.3:165 #, no-wrap msgid "" "#include Eucontext.hE\n" @@ -901,13 +951,13 @@ msgstr "" "#include Estdlib.hE\n" #. type: Plain text -#: build/C/man3/makecontext.3:164 +#: build/C/man3/makecontext.3:167 #, 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:167 +#: build/C/man3/makecontext.3:170 #, no-wrap msgid "" "#define handle_error(msg) \\e\n" @@ -917,7 +967,7 @@ msgstr "" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" #. type: Plain text -#: build/C/man3/makecontext.3:177 +#: build/C/man3/makecontext.3:180 #, no-wrap msgid "" "static void\n" @@ -941,7 +991,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/makecontext.3:187 +#: build/C/man3/makecontext.3:190 #, no-wrap msgid "" "static void\n" @@ -965,7 +1015,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/makecontext.3:193 +#: build/C/man3/makecontext.3:196 #, no-wrap msgid "" "int\n" @@ -981,7 +1031,7 @@ msgstr "" " char func2_stack[16384];\n" #. type: Plain text -#: build/C/man3/makecontext.3:200 +#: build/C/man3/makecontext.3:203 #, no-wrap msgid "" " if (getcontext(&uctx_func1) == -1)\n" @@ -999,7 +1049,7 @@ msgstr "" " makecontext(&uctx_func1, func1, 0);\n" #. type: Plain text -#: build/C/man3/makecontext.3:208 +#: build/C/man3/makecontext.3:211 #, no-wrap msgid "" " if (getcontext(&uctx_func2) == -1)\n" @@ -1019,7 +1069,7 @@ msgstr "" " makecontext(&uctx_func2, func2, 0);\n" #. type: Plain text -#: build/C/man3/makecontext.3:212 +#: build/C/man3/makecontext.3:215 #, no-wrap msgid "" " printf(\"main: swapcontext(&uctx_main, &uctx_func2)\\en\");\n" @@ -1031,7 +1081,7 @@ msgstr "" " handle_error(\"swapcontext\");\n" #. type: Plain text -#: build/C/man3/makecontext.3:216 +#: build/C/man3/makecontext.3:219 #, no-wrap msgid "" " printf(\"main: exiting\\en\");\n" @@ -1043,28 +1093,32 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/makecontext.3:223 +#: build/C/man3/makecontext.3:226 +#, fuzzy +#| msgid "" +#| "B(2), B(2), B(2), B(3), " +#| "B(3), B(3)" msgid "" -"B(2), B(2), B(2), B(2), " +"B(2), B(2), B(2), B(3), " "B(3)" msgstr "" -"B(2), B(2), B(2), B(2), " -"B(3)" +"B(2), B(2), B(2), B(3), " +"B(3), B(3)" #. type: TH -#: build/C/man3/pthread_attr_init.3:24 +#: build/C/man3/pthread_attr_init.3:26 #, no-wrap msgid "PTHREAD_ATTR_INIT" msgstr "PTHREAD_ATTR_INIT" #. type: TH -#: build/C/man3/pthread_attr_init.3:24 +#: build/C/man3/pthread_attr_init.3:26 #, no-wrap msgid "2008-11-11" msgstr "2008-11-11" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:28 +#: build/C/man3/pthread_attr_init.3:30 msgid "" "pthread_attr_init, pthread_attr_destroy - initialize and destroy thread " "attributes object" @@ -1073,33 +1127,33 @@ msgstr "" "スレッド属性オブジェクトの初期化と破棄を行う" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:31 -#: build/C/man3/pthread_attr_setdetachstate.3:31 -#: build/C/man3/pthread_attr_setguardsize.3:31 -#: build/C/man3/pthread_attr_setinheritsched.3:31 -#: build/C/man3/pthread_attr_setschedparam.3:31 -#: build/C/man3/pthread_attr_setschedpolicy.3:31 -#: build/C/man3/pthread_attr_setscope.3:31 -#: build/C/man3/pthread_attr_setstack.3:31 -#: build/C/man3/pthread_attr_setstackaddr.3:31 -#: build/C/man3/pthread_attr_setstacksize.3:31 -#: build/C/man3/pthread_cancel.3:30 build/C/man3/pthread_cleanup_push.3:31 -#: build/C/man3/pthread_cleanup_push_defer_np.3:31 -#: build/C/man3/pthread_create.3:30 build/C/man3/pthread_detach.3:30 -#: build/C/man3/pthread_equal.3:30 build/C/man3/pthread_exit.3:30 -#: build/C/man3/pthread_join.3:30 -#: build/C/man3/pthread_kill_other_threads_np.3:30 -#: build/C/man3/pthread_self.3:30 build/C/man3/pthread_setcancelstate.3:31 -#: build/C/man3/pthread_setconcurrency.3:30 -#: build/C/man3/pthread_setschedparam.3:31 -#: build/C/man3/pthread_setschedprio.3:30 build/C/man3/pthread_sigqueue.3:29 -#: build/C/man3/pthread_testcancel.3:30 build/C/man3/pthread_yield.3:29 +#: build/C/man3/pthread_attr_init.3:33 +#: build/C/man3/pthread_attr_setdetachstate.3:33 +#: build/C/man3/pthread_attr_setguardsize.3:33 +#: build/C/man3/pthread_attr_setinheritsched.3:33 +#: build/C/man3/pthread_attr_setschedparam.3:33 +#: build/C/man3/pthread_attr_setschedpolicy.3:33 +#: build/C/man3/pthread_attr_setscope.3:33 +#: build/C/man3/pthread_attr_setstack.3:33 +#: build/C/man3/pthread_attr_setstackaddr.3:33 +#: build/C/man3/pthread_attr_setstacksize.3:33 +#: build/C/man3/pthread_cancel.3:32 build/C/man3/pthread_cleanup_push.3:33 +#: build/C/man3/pthread_cleanup_push_defer_np.3:33 +#: build/C/man3/pthread_create.3:32 build/C/man3/pthread_detach.3:32 +#: build/C/man3/pthread_equal.3:32 build/C/man3/pthread_exit.3:32 +#: build/C/man3/pthread_join.3:32 +#: build/C/man3/pthread_kill_other_threads_np.3:32 +#: build/C/man3/pthread_self.3:32 build/C/man3/pthread_setcancelstate.3:33 +#: build/C/man3/pthread_setconcurrency.3:32 +#: build/C/man3/pthread_setschedparam.3:33 +#: build/C/man3/pthread_setschedprio.3:32 build/C/man3/pthread_sigqueue.3:31 +#: build/C/man3/pthread_testcancel.3:32 #, no-wrap msgid "B<#include Epthread.hE>\n" msgstr "B<#include Epthread.hE>\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:34 +#: build/C/man3/pthread_attr_init.3:36 #, no-wrap msgid "" "BIB<);>\n" @@ -1109,32 +1163,32 @@ msgstr "" "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:36 -#: build/C/man3/pthread_attr_setaffinity_np.3:39 -#: build/C/man3/pthread_attr_setdetachstate.3:38 -#: build/C/man3/pthread_attr_setguardsize.3:38 -#: build/C/man3/pthread_attr_setinheritsched.3:38 -#: build/C/man3/pthread_attr_setschedparam.3:38 -#: build/C/man3/pthread_attr_setschedpolicy.3:38 -#: build/C/man3/pthread_attr_setscope.3:38 -#: build/C/man3/pthread_attr_setstack.3:38 -#: build/C/man3/pthread_attr_setstackaddr.3:38 -#: build/C/man3/pthread_attr_setstacksize.3:38 -#: build/C/man3/pthread_cancel.3:34 build/C/man3/pthread_cleanup_push.3:37 -#: build/C/man3/pthread_equal.3:34 build/C/man3/pthread_exit.3:34 -#: build/C/man3/pthread_getattr_np.3:35 -#: build/C/man3/pthread_getcpuclockid.3:35 build/C/man3/pthread_self.3:34 -#: build/C/man3/pthread_setaffinity_np.3:39 -#: build/C/man3/pthread_setcancelstate.3:36 -#: build/C/man3/pthread_setconcurrency.3:35 -#: build/C/man3/pthread_setschedparam.3:38 -#: build/C/man3/pthread_setschedprio.3:34 build/C/man3/pthread_testcancel.3:34 +#: build/C/man3/pthread_attr_init.3:38 +#: build/C/man3/pthread_attr_setaffinity_np.3:41 +#: build/C/man3/pthread_attr_setdetachstate.3:40 +#: build/C/man3/pthread_attr_setguardsize.3:40 +#: build/C/man3/pthread_attr_setinheritsched.3:40 +#: build/C/man3/pthread_attr_setschedparam.3:40 +#: build/C/man3/pthread_attr_setschedpolicy.3:40 +#: build/C/man3/pthread_attr_setscope.3:40 +#: build/C/man3/pthread_attr_setstack.3:40 +#: build/C/man3/pthread_attr_setstackaddr.3:40 +#: build/C/man3/pthread_attr_setstacksize.3:40 +#: build/C/man3/pthread_cancel.3:36 build/C/man3/pthread_cleanup_push.3:39 +#: build/C/man3/pthread_equal.3:36 build/C/man3/pthread_exit.3:36 +#: build/C/man3/pthread_getattr_np.3:37 +#: build/C/man3/pthread_getcpuclockid.3:37 build/C/man3/pthread_self.3:36 +#: build/C/man3/pthread_setaffinity_np.3:41 +#: build/C/man3/pthread_setcancelstate.3:38 +#: build/C/man3/pthread_setconcurrency.3:37 +#: build/C/man3/pthread_setschedparam.3:40 +#: build/C/man3/pthread_setschedprio.3:36 build/C/man3/pthread_testcancel.3:36 #, no-wrap msgid "Compile and link with I<-pthread>.\n" msgstr "I<-pthread> でコンパイルしてリンクする。\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:48 +#: build/C/man3/pthread_attr_init.3:50 msgid "" "The B() function initializes the thread attributes " "object pointed to by I with default attribute values. After this " @@ -1150,7 +1204,7 @@ msgstr "" "オブジェクトを複数の B(3) に渡してもよい)。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:53 +#: build/C/man3/pthread_attr_init.3:55 msgid "" "Calling B() on a thread attributes object that has " "already been initialized results in undefined behavior." @@ -1160,7 +1214,7 @@ msgstr "" "どのような動作になるかは不定である。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:60 +#: build/C/man3/pthread_attr_init.3:62 msgid "" "When a thread attributes object is no longer required, it should be " "destroyed using the B() function. Destroying a " @@ -1173,7 +1227,7 @@ msgstr "" "そのオブジェクトを使って作成されたスレッドには影響はない。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:66 +#: build/C/man3/pthread_attr_init.3:68 msgid "" "Once a thread attributes object has been destroyed, it can be reinitialized " "using B(). Any other use of a destroyed thread " @@ -1185,19 +1239,20 @@ msgstr "" "使った場合の結果は不定である。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:69 -#: build/C/man3/pthread_attr_setaffinity_np.3:77 -#: build/C/man3/pthread_attr_setdetachstate.3:78 -#: build/C/man3/pthread_attr_setguardsize.3:91 -#: build/C/man3/pthread_attr_setinheritsched.3:85 -#: build/C/man3/pthread_attr_setschedparam.3:75 -#: build/C/man3/pthread_attr_setschedpolicy.3:73 -#: build/C/man3/pthread_attr_setscope.3:92 -#: build/C/man3/pthread_attr_setstack.3:86 -#: build/C/man3/pthread_attr_setstackaddr.3:75 -#: build/C/man3/pthread_attr_setstacksize.3:62 -#: build/C/man3/pthread_setaffinity_np.3:78 -#: build/C/man3/pthread_setcancelstate.3:93 +#: 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_setstack.3:88 +#: build/C/man3/pthread_attr_setstackaddr.3:77 +#: build/C/man3/pthread_attr_setstacksize.3:64 +#: build/C/man3/pthread_setaffinity_np.3:80 +#: build/C/man3/pthread_setcancelstate.3:95 +#: build/C/man3/pthread_setname_np.3:75 msgid "" "On success, these functions return 0; on error, they return a nonzero error " "number." @@ -1206,7 +1261,7 @@ msgstr "" "エラーの場合、0 以外のエラー番号を返す。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:77 +#: build/C/man3/pthread_attr_init.3:79 msgid "" "POSIX.1-2001 documents an B error for B(); on " "Linux these functions always succeed (but portable and future-proof " @@ -1219,30 +1274,30 @@ msgstr "" "正のエラーの返り値を処理するようにすべきである)。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:79 -#: 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 -#: build/C/man3/pthread_attr_setstack.3:112 -#: 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_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_getcpuclockid.3:65 build/C/man3/pthread_join.3:98 -#: build/C/man3/pthread_kill.3:66 build/C/man3/pthread_self.3:50 -#: build/C/man3/pthread_setcancelstate.3:113 -#: build/C/man3/pthread_setconcurrency.3:83 -#: 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_testcancel.3:58 +#: 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_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_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_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_testcancel.3:60 msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. type: Plain text -#: build/C/man3/pthread_attr_init.3:85 +#: build/C/man3/pthread_attr_init.3:87 msgid "" "The I type should be treated as opaque: any access to the " "object other than via pthreads functions is nonportable and produces " @@ -1253,7 +1308,7 @@ msgstr "" "どのような結果が得られるかも分からない。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:94 +#: build/C/man3/pthread_attr_init.3:96 msgid "" "The program below optionally makes use of B() and " "various related functions to initialize a thread attributes object that is " @@ -1269,7 +1324,7 @@ msgstr "" "取得した属性を表示する。" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:103 +#: build/C/man3/pthread_attr_init.3:105 msgid "" "If the program is run with no command-line argument, then it passes NULL as " "the I argument of B(3), so that the thread is created " @@ -1284,7 +1339,7 @@ msgstr "" #. Results from glibc 2.8, SUSE 11.0; Oct 2008 #. type: Plain text -#: build/C/man3/pthread_attr_init.3:119 +#: build/C/man3/pthread_attr_init.3:121 #, no-wrap msgid "" "$B< ulimit -s> # No stack imit ==E default stack size is 2MB\n" @@ -1314,7 +1369,7 @@ msgstr "" " Stack size = 0x201000 bytes\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:129 +#: build/C/man3/pthread_attr_init.3:131 msgid "" "When we supply a stack size as a command-line argument, the program " "initializes a thread attributes object, sets various attributes in that " @@ -1331,7 +1386,7 @@ msgstr "" #. Results from glibc 2.8, SUSE 11.0; Oct 2008 #. type: Plain text -#: build/C/man3/pthread_attr_init.3:144 +#: build/C/man3/pthread_attr_init.3:146 #, no-wrap msgid "" "$B< ./a.out 0x3000000>\n" @@ -1359,7 +1414,7 @@ msgstr "" " Stack size = 0x3000000 bytes\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:155 build/C/man3/pthread_getattr_np.3:186 +#: build/C/man3/pthread_attr_init.3:157 build/C/man3/pthread_getattr_np.3:188 #, no-wrap msgid "" "#define _GNU_SOURCE /* To get pthread_getattr_np() declaration */\n" @@ -1377,12 +1432,12 @@ msgstr "" "#include Eerrno.hE\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:158 build/C/man3/pthread_cancel.3:157 -#: build/C/man3/pthread_cleanup_push.3:237 build/C/man3/pthread_create.3:252 -#: build/C/man3/pthread_getattr_np.3:189 -#: build/C/man3/pthread_getcpuclockid.3:111 -#: build/C/man3/pthread_setaffinity_np.3:170 -#: build/C/man3/pthread_setschedparam.3:235 build/C/man3/pthread_sigmask.3:91 +#: 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_getattr_np.3:191 +#: build/C/man3/pthread_getcpuclockid.3:113 +#: build/C/man3/pthread_setaffinity_np.3:172 +#: build/C/man3/pthread_setschedparam.3:237 build/C/man3/pthread_sigmask.3:93 #, no-wrap msgid "" "#define handle_error_en(en, msg) \\e\n" @@ -1392,7 +1447,7 @@ msgstr "" " do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:166 +#: build/C/man3/pthread_attr_init.3:168 #, no-wrap msgid "" "static void\n" @@ -1412,7 +1467,7 @@ msgstr "" " struct sched_param sp;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:174 +#: build/C/man3/pthread_attr_init.3:176 #, no-wrap msgid "" " s = pthread_attr_getdetachstate(attr, &i);\n" @@ -1432,7 +1487,7 @@ msgstr "" " \"???\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:182 +#: build/C/man3/pthread_attr_init.3:184 #, no-wrap msgid "" " s = pthread_attr_getscope(attr, &i);\n" @@ -1452,7 +1507,7 @@ msgstr "" " \"???\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:190 +#: build/C/man3/pthread_attr_init.3:192 #, no-wrap msgid "" " s = pthread_attr_getinheritsched(attr, &i);\n" @@ -1472,7 +1527,7 @@ msgstr "" " \"???\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:199 +#: build/C/man3/pthread_attr_init.3:201 #, no-wrap msgid "" " s = pthread_attr_getschedpolicy(attr, &i);\n" @@ -1494,7 +1549,7 @@ msgstr "" " \"???\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:204 +#: build/C/man3/pthread_attr_init.3:206 #, no-wrap msgid "" " s = pthread_attr_getschedparam(attr, &sp);\n" @@ -1508,7 +1563,7 @@ msgstr "" " printf(\"%sScheduling priority = %d\\en\", prefix, sp.sched_priority);\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:209 +#: build/C/man3/pthread_attr_init.3:211 #, no-wrap msgid "" " s = pthread_attr_getguardsize(attr, &v);\n" @@ -1522,7 +1577,7 @@ msgstr "" " printf(\"%sGuard size = %d bytes\\en\", prefix, v);\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:216 +#: build/C/man3/pthread_attr_init.3:218 #, no-wrap msgid "" " s = pthread_attr_getstack(attr, &stkaddr, &v);\n" @@ -1540,7 +1595,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:222 +#: build/C/man3/pthread_attr_init.3:224 #, no-wrap msgid "" "static void *\n" @@ -1556,7 +1611,7 @@ msgstr "" " pthread_attr_t gattr;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:226 +#: build/C/man3/pthread_attr_init.3:228 #, no-wrap msgid "" " /* pthread_getattr_np() is a non-standard GNU extension that\n" @@ -1568,7 +1623,7 @@ msgstr "" " first argument */\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:230 +#: build/C/man3/pthread_attr_init.3:232 #, no-wrap msgid "" " s = pthread_getattr_np(pthread_self(), &gattr);\n" @@ -1580,7 +1635,7 @@ msgstr "" " handle_error_en(s, \"pthread_getattr_np\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:233 +#: build/C/man3/pthread_attr_init.3:235 #, no-wrap msgid "" " printf(\"Thread attributes:\\en\");\n" @@ -1590,7 +1645,7 @@ msgstr "" " display_pthread_attr(&gattr, \"\\et\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:236 build/C/man3/pthread_getattr_np.3:238 +#: build/C/man3/pthread_attr_init.3:238 build/C/man3/pthread_getattr_np.3:240 #, no-wrap msgid "" " exit(EXIT_SUCCESS); /* Terminate all threads */\n" @@ -1600,7 +1655,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:244 +#: build/C/man3/pthread_attr_init.3:246 #, no-wrap msgid "" "int\n" @@ -1620,14 +1675,14 @@ msgstr "" " int s;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:246 -#: build/C/man3/pthread_setschedparam.3:353 +#: build/C/man3/pthread_attr_init.3:248 +#: build/C/man3/pthread_setschedparam.3:355 #, no-wrap msgid " attrp = NULL;\n" msgstr " attrp = NULL;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:250 +#: build/C/man3/pthread_attr_init.3:252 #, no-wrap msgid "" " /* If a command-line argument was supplied, use it to set the\n" @@ -1639,7 +1694,7 @@ msgstr "" " and set attrp pointing to thread attributes object */\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:254 +#: build/C/man3/pthread_attr_init.3:256 #, no-wrap msgid "" " if (argc E 1) {\n" @@ -1651,13 +1706,13 @@ msgstr "" " void *sp;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:256 +#: build/C/man3/pthread_attr_init.3:258 #, no-wrap msgid " attrp = &attr;\n" msgstr " attrp = &attr;\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:260 +#: build/C/man3/pthread_attr_init.3:262 #, no-wrap msgid "" " s = pthread_attr_init(&attr);\n" @@ -1669,7 +1724,7 @@ msgstr "" " handle_error_en(s, \"pthread_attr_init\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:264 +#: build/C/man3/pthread_attr_init.3:266 #, no-wrap msgid "" " s = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);\n" @@ -1681,7 +1736,7 @@ msgstr "" " handle_error_en(s, \"pthread_attr_setdetachstate\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:268 +#: build/C/man3/pthread_attr_init.3:270 #, no-wrap msgid "" " s = pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED);\n" @@ -1693,13 +1748,13 @@ msgstr "" " handle_error_en(s, \"pthread_attr_setinheritsched\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:270 +#: build/C/man3/pthread_attr_init.3:272 #, no-wrap msgid " stack_size = strtoul(argv[1], NULL, 0);\n" msgstr " stack_size = strtoul(argv[1], NULL, 0);\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:274 +#: build/C/man3/pthread_attr_init.3:276 #, no-wrap msgid "" " s = posix_memalign(&sp, sysconf(_SC_PAGESIZE), stack_size);\n" @@ -1711,13 +1766,13 @@ msgstr "" " handle_error_en(s, \"posix_memalign\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:276 +#: build/C/man3/pthread_attr_init.3:278 #, no-wrap msgid " printf(\"posix_memalign() allocated at %p\\en\", sp);\n" msgstr " printf(\"posix_memalign() allocated at %p\\en\", sp);\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:281 +#: build/C/man3/pthread_attr_init.3:283 #, no-wrap msgid "" " s = pthread_attr_setstack(&attr, sp, stack_size);\n" @@ -1731,7 +1786,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:285 build/C/man3/pthread_getattr_np.3:333 +#: build/C/man3/pthread_attr_init.3:287 build/C/man3/pthread_getattr_np.3:335 #, no-wrap msgid "" " s = pthread_create(&thr, attrp, &thread_start, NULL);\n" @@ -1743,7 +1798,7 @@ msgstr "" " handle_error_en(s, \"pthread_create\");\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:291 build/C/man3/pthread_getattr_np.3:339 +#: build/C/man3/pthread_attr_init.3:293 build/C/man3/pthread_getattr_np.3:341 #, no-wrap msgid "" " if (attrp != NULL) {\n" @@ -1759,7 +1814,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:294 build/C/man3/pthread_getattr_np.3:342 +#: build/C/man3/pthread_attr_init.3:296 build/C/man3/pthread_getattr_np.3:344 #, no-wrap msgid "" " pause(); /* Terminates when other thread calls exit() */\n" @@ -1769,7 +1824,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_attr_init.3:309 +#: build/C/man3/pthread_attr_init.3:313 msgid "" "B(3), B(3), " "B(3), B(3), " @@ -1786,22 +1841,22 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setaffinity_np.3:24 +#: build/C/man3/pthread_attr_setaffinity_np.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETAFFINITY_NP" msgstr "PTHREAD_ATTR_SETAFFINITY_NP" #. type: TH -#: build/C/man3/pthread_attr_setaffinity_np.3:24 -#: build/C/man3/pthread_getattr_np.3:24 -#: build/C/man3/pthread_setaffinity_np.3:24 -#: build/C/man3/pthread_tryjoin_np.3:24 +#: build/C/man3/pthread_attr_setaffinity_np.3:26 +#: build/C/man3/pthread_getattr_np.3:26 +#: build/C/man3/pthread_setaffinity_np.3:26 +#: build/C/man3/pthread_tryjoin_np.3:26 #, no-wrap msgid "2010-09-10" msgstr "2010-09-10" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:28 +#: build/C/man3/pthread_attr_setaffinity_np.3:30 msgid "" "pthread_attr_setaffinity_np, pthread_attr_getaffinity_np - set/get CPU " "affinity attribute in thread attributes object" @@ -1810,10 +1865,10 @@ msgstr "" "スレッド属性オブジェクトの CPU affinity 属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:32 -#: build/C/man3/pthread_getattr_np.3:31 -#: build/C/man3/pthread_setaffinity_np.3:32 -#: build/C/man3/pthread_tryjoin_np.3:32 +#: build/C/man3/pthread_attr_setaffinity_np.3:34 +#: build/C/man3/pthread_getattr_np.3:33 +#: build/C/man3/pthread_setaffinity_np.3:34 +#: build/C/man3/pthread_tryjoin_np.3:34 build/C/man3/pthread_yield.3:32 #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" @@ -1823,7 +1878,7 @@ msgstr "" "B<#include Epthread.hE>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:37 +#: build/C/man3/pthread_attr_setaffinity_np.3:39 #, no-wrap msgid "" "BIB<,>\n" @@ -1837,7 +1892,7 @@ msgstr "" "B< size_t >IB<, cpu_set_t *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:52 +#: build/C/man3/pthread_attr_setaffinity_np.3:54 msgid "" "The B() function sets the CPU affinity mask " "attribute of the thread attributes object referred to by I to the " @@ -1851,7 +1906,7 @@ msgstr "" "作成されたスレッドの CPU affinity マスクが決定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:61 +#: build/C/man3/pthread_attr_setaffinity_np.3:63 msgid "" "The B() function returns the CPU affinity mask " "attribute of the thread attributes object referred to by I in the " @@ -1862,7 +1917,7 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:68 +#: build/C/man3/pthread_attr_setaffinity_np.3:70 msgid "" "The argument I is the length (in bytes) of the buffer pointed to " "by I. Typically, this argument would be specified as I(2). For a " "description of a set of macros that can be used to manipulate and inspect " @@ -1886,24 +1941,24 @@ msgstr "" "B(3) を参照してほしい。" #. type: TP -#: build/C/man3/pthread_attr_setaffinity_np.3:78 -#: build/C/man3/pthread_attr_setaffinity_np.3:90 -#: build/C/man3/pthread_attr_setdetachstate.3:81 -#: build/C/man3/pthread_attr_setinheritsched.3:88 -#: build/C/man3/pthread_attr_setschedpolicy.3:76 -#: build/C/man3/pthread_attr_setscope.3:95 -#: build/C/man3/pthread_attr_setstack.3:89 -#: build/C/man3/pthread_attr_setstacksize.3:65 -#: build/C/man3/pthread_create.3:135 build/C/man3/pthread_detach.3:53 -#: build/C/man3/pthread_join.3:83 build/C/man3/pthread_join.3:87 -#: build/C/man3/pthread_kill.3:56 build/C/man3/pthread_setaffinity_np.3:82 -#: build/C/man3/pthread_setaffinity_np.3:91 -#: build/C/man3/pthread_setaffinity_np.3:107 -#: build/C/man3/pthread_setcancelstate.3:97 -#: build/C/man3/pthread_setcancelstate.3:105 -#: build/C/man3/pthread_setconcurrency.3:69 -#: build/C/man3/pthread_setschedparam.3:120 -#: build/C/man3/pthread_setschedprio.3:60 build/C/man3/pthread_sigqueue.3:75 +#: 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_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_setaffinity_np.3:93 +#: build/C/man3/pthread_setaffinity_np.3:109 +#: build/C/man3/pthread_setcancelstate.3:99 +#: build/C/man3/pthread_setcancelstate.3:107 +#: build/C/man3/pthread_setconcurrency.3:71 +#: build/C/man3/pthread_setschedparam.3:122 +#: build/C/man3/pthread_setschedprio.3:62 build/C/man3/pthread_sigqueue.3:77 #, no-wrap msgid "B" msgstr "B" @@ -1912,7 +1967,7 @@ msgstr "B" #. The raw sched_getaffinity() system call returns the size (in bytes) #. of the cpumask_t type. #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:90 +#: build/C/man3/pthread_attr_setaffinity_np.3:92 msgid "" "(B()) I specified a CPU that was " "outside the set supported by the kernel. (The kernel configuration option " @@ -1926,7 +1981,7 @@ msgstr "" "カーネルの設定オプション B により定義される)。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:100 +#: build/C/man3/pthread_attr_setaffinity_np.3:102 msgid "" "(B()) A CPU in the affinity mask of the thread " "attributes object referred to by I lies outside the range specified by " @@ -1938,22 +1993,22 @@ msgstr "" "(すなわち、I/I が小さすぎる)。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:104 +#: build/C/man3/pthread_attr_setaffinity_np.3:106 msgid "(B()) Could not allocate memory." msgstr "" "(B()) メモリを割り当てることができなかった。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:106 -#: build/C/man3/pthread_setaffinity_np.3:119 +#: build/C/man3/pthread_attr_setaffinity_np.3:108 +#: build/C/man3/pthread_setaffinity_np.3:121 msgid "These functions are provided by glibc since version 2.3.4." msgstr "これらの関数は glibc バージョン 2.3.4 以降で提供されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:109 -#: build/C/man3/pthread_cleanup_push_defer_np.3:102 -#: build/C/man3/pthread_setaffinity_np.3:122 -#: build/C/man3/pthread_tryjoin_np.3:113 +#: build/C/man3/pthread_attr_setaffinity_np.3:111 +#: build/C/man3/pthread_cleanup_push_defer_np.3:104 +#: build/C/man3/pthread_setaffinity_np.3:124 +#: build/C/man3/pthread_tryjoin_np.3:115 msgid "" "These functions are nonstandard GNU extensions; hence the suffix \"_np" "\" (nonportable) in the names." @@ -1963,8 +2018,8 @@ msgstr "" "付いている。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:116 -#: build/C/man3/pthread_setaffinity_np.3:148 +#: build/C/man3/pthread_attr_setaffinity_np.3:118 +#: build/C/man3/pthread_setaffinity_np.3:150 msgid "" "In glibc 2.3.3 only, versions of these functions were provided that did not " "have a I argument. Instead the CPU set size given to the " @@ -1976,7 +2031,7 @@ msgstr "" "常に I であった。" #. type: Plain text -#: build/C/man3/pthread_attr_setaffinity_np.3:122 +#: build/C/man3/pthread_attr_setaffinity_np.3:124 msgid "" "B(2), B(3), B" "(3), B(7), B(7)" @@ -1985,20 +2040,20 @@ msgstr "" "(3), B(7), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setdetachstate.3:24 +#: build/C/man3/pthread_attr_setdetachstate.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETDETACHSTATE" msgstr "PTHREAD_ATTR_SETDETACHSTATE" #. type: TH -#: build/C/man3/pthread_attr_setdetachstate.3:24 -#: build/C/man3/pthread_attr_setschedpolicy.3:24 +#: 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:28 +#: build/C/man3/pthread_attr_setdetachstate.3:30 msgid "" "pthread_attr_setdetachstate, pthread_attr_getdetachstate - set/get detach " "state attribute in thread attributes object" @@ -2007,7 +2062,7 @@ msgstr "" "スレッド属性オブジェクトの detach state 属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:36 +#: build/C/man3/pthread_attr_setdetachstate.3:38 #, no-wrap msgid "" "BIB<, int >IB<);>\n" @@ -2017,7 +2072,7 @@ msgstr "" "BIB<, int *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:51 +#: build/C/man3/pthread_attr_setdetachstate.3:53 msgid "" "The B() function sets the detach state " "attribute of the thread attributes object referred to by I to the " @@ -2033,36 +2088,36 @@ msgstr "" "detached (切り離された) 状態で作成されるかが決定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:54 +#: build/C/man3/pthread_attr_setdetachstate.3:56 msgid "The following values may be specified in I:" msgstr "I には以下の値を指定できる。" #. type: TP -#: build/C/man3/pthread_attr_setdetachstate.3:54 +#: build/C/man3/pthread_attr_setdetachstate.3:56 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:59 +#: build/C/man3/pthread_attr_setdetachstate.3:61 msgid "" "Threads that are created using I will be created in a detached state." msgstr "I を使って作成されるスレッドは detached 状態で作成される。" #. type: TP -#: build/C/man3/pthread_attr_setdetachstate.3:59 +#: build/C/man3/pthread_attr_setdetachstate.3:61 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:64 +#: build/C/man3/pthread_attr_setdetachstate.3:66 msgid "" "Threads that are created using I will be created in a joinable state." msgstr "I を使って作成されるスレッドは join 可能な状態で作成される。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:68 +#: build/C/man3/pthread_attr_setdetachstate.3:70 msgid "" "The default setting of the detach state attribute in a newly initialized " "thread attributes object is B." @@ -2071,7 +2126,7 @@ msgstr "" "デフォルト設定は B である。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:75 +#: build/C/man3/pthread_attr_setdetachstate.3:77 msgid "" "The B() returns the detach state attribute of " "the thread attributes object I in the buffer pointed to by " @@ -2082,17 +2137,17 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:81 +#: build/C/man3/pthread_attr_setdetachstate.3:83 msgid "B() can fail with the following error:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:85 +#: build/C/man3/pthread_attr_setdetachstate.3:87 msgid "An invalid value was specified in I." msgstr "無効な値が I で指定された。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:91 +#: build/C/man3/pthread_attr_setdetachstate.3:93 msgid "" "See B(3) for more details on detached and joinable threads." msgstr "" @@ -2100,7 +2155,7 @@ msgstr "" "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:99 +#: build/C/man3/pthread_attr_setdetachstate.3:101 msgid "" "A thread that is created in a joinable state should eventually either be " "joined using B(3) or detached using B(3); see " @@ -2112,7 +2167,7 @@ msgstr "" "のどちらかを行うべきである。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:106 +#: build/C/man3/pthread_attr_setdetachstate.3:108 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(3) or B" @@ -2123,13 +2178,13 @@ msgstr "" "エラーである。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:109 -#: build/C/man3/pthread_attr_setstack.3:154 +#: build/C/man3/pthread_attr_setdetachstate.3:111 +#: build/C/man3/pthread_attr_setstack.3:156 msgid "See B(3)." msgstr "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setdetachstate.3:115 +#: build/C/man3/pthread_attr_setdetachstate.3:117 msgid "" "B(3), B(3), B(3), " "B(3), B(7)" @@ -2138,22 +2193,22 @@ msgstr "" "B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setguardsize.3:24 +#: build/C/man3/pthread_attr_setguardsize.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETGUARDSIZE" msgstr "PTHREAD_ATTR_SETGUARDSIZE" #. type: TH -#: build/C/man3/pthread_attr_setguardsize.3:24 -#: build/C/man3/pthread_attr_setscope.3:24 -#: build/C/man3/pthread_attr_setstack.3:24 -#: build/C/man3/pthread_attr_setstackaddr.3:24 build/C/man3/pthread_self.3:24 +#: 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:28 +#: build/C/man3/pthread_attr_setguardsize.3:30 msgid "" "pthread_attr_setguardsize, pthread_attr_getguardsize - set/get guard size " "attribute in thread attributes object" @@ -2162,7 +2217,7 @@ msgstr "" "スレッド属性オブジェクトの guard size 属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:36 +#: build/C/man3/pthread_attr_setguardsize.3:38 #, no-wrap msgid "" "BIB<, size_t >IB<);>\n" @@ -2172,7 +2227,7 @@ msgstr "" "BIB<, size_t *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:47 +#: build/C/man3/pthread_attr_setguardsize.3:49 msgid "" "The B() function sets the guard size attribute " "of the thread attributes object referred to by I to the value " @@ -2183,7 +2238,7 @@ msgstr "" "I で指定された値に設定する。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:57 +#: build/C/man3/pthread_attr_setguardsize.3:59 msgid "" "If I is greater than 0, then for each new thread created using " "I the system allocates an additional region of at least I " @@ -2197,7 +2252,7 @@ msgstr "" "機能する (ただし「バグ」の節も参照)。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:63 +#: build/C/man3/pthread_attr_setguardsize.3:65 msgid "" "If I is 0, then new threads created with I will not have a " "guard area." @@ -2206,12 +2261,12 @@ msgstr "" "I を使って新しく作成されたスレッドはガード領域を持たない。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:65 +#: build/C/man3/pthread_attr_setguardsize.3:67 msgid "The default guard size is the same as the system page size." msgstr "デフォルトの guard size はシステムのページサイズと同じである。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:80 +#: build/C/man3/pthread_attr_setguardsize.3:82 msgid "" "If the stack address attribute has been set in I (using " "B(3) or B(3)), meaning " @@ -2230,7 +2285,7 @@ msgstr "" "られたスタックの最後に手動でガード領域を定義することになるだろう)。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:88 +#: build/C/man3/pthread_attr_setguardsize.3:90 msgid "" "The B() function returns the guard size " "attribute of the thread attributes object referred to by I in the " @@ -2241,7 +2296,7 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:102 +#: build/C/man3/pthread_attr_setguardsize.3:104 msgid "" "POSIX.1-2001 documents an B error if I or I is " "invalid. On Linux these functions always succeed (but portable and future-" @@ -2254,14 +2309,14 @@ msgstr "" "正のエラーの返り値を処理するようにすべきである)。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:104 -#: build/C/man3/pthread_attr_setstackaddr.3:81 -#: build/C/man3/pthread_attr_setstacksize.3:81 +#: build/C/man3/pthread_attr_setguardsize.3:106 +#: build/C/man3/pthread_attr_setstackaddr.3:83 +#: build/C/man3/pthread_attr_setstacksize.3:83 msgid "These functions are provided by glibc since version 2.1." msgstr "これらの関数は glibc バージョン 2.1 以降で提供されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:120 +#: build/C/man3/pthread_attr_setguardsize.3:122 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, " @@ -2281,7 +2336,7 @@ msgstr "" "B() で設定された guard size が返される)。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:124 +#: build/C/man3/pthread_attr_setguardsize.3:126 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." @@ -2291,7 +2346,7 @@ msgstr "" "することで、メモリを節約できることもある。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:128 +#: build/C/man3/pthread_attr_setguardsize.3:130 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 " @@ -2302,16 +2357,16 @@ msgstr "" "大きな guard size を選ぶ必要があるかもしれない。" #. type: SH -#: build/C/man3/pthread_attr_setguardsize.3:128 -#: build/C/man3/pthread_attr_setinheritsched.3:101 -#: build/C/man3/pthread_attr_setstacksize.3:94 -#: build/C/man3/pthread_create.3:194 build/C/man3/pthread_exit.3:91 +#: build/C/man3/pthread_attr_setguardsize.3:130 +#: build/C/man3/pthread_attr_setinheritsched.3:103 +#: build/C/man3/pthread_attr_setstacksize.3:96 +#: build/C/man3/pthread_create.3:196 build/C/man3/pthread_exit.3:93 #, no-wrap msgid "BUGS" msgstr "バグ" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:139 +#: build/C/man3/pthread_attr_setguardsize.3:141 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 " @@ -2336,7 +2391,7 @@ msgstr "" #. 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:153 +#: build/C/man3/pthread_attr_setguardsize.3:155 msgid "" "The obsolete LinuxThreads implementation did the right thing, allocating " "extra space at the end of the stack for the guard area." @@ -2346,12 +2401,12 @@ msgstr "" "ガード領域がスタックの末尾に追加の領域が割り当てられる。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:156 +#: build/C/man3/pthread_attr_setguardsize.3:158 msgid "See B(3)." msgstr "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setguardsize.3:164 +#: build/C/man3/pthread_attr_setguardsize.3:166 msgid "" "B(2), B(2), B(3), B" "(3), B(3), B(3), B(7)" @@ -2360,22 +2415,21 @@ msgstr "" "(3), B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setinheritsched.3:24 +#: build/C/man3/pthread_attr_setinheritsched.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETINHERITSCHED" msgstr "PTHREAD_ATTR_SETINHERITSCHED" #. type: TH -#: build/C/man3/pthread_attr_setinheritsched.3:24 -#: build/C/man3/pthread_attr_setschedparam.3:24 -#: build/C/man3/pthread_attr_setstacksize.3:24 -#: build/C/man3/pthread_create.3:24 +#: build/C/man3/pthread_attr_setinheritsched.3:26 +#: build/C/man3/pthread_attr_setschedparam.3:26 +#: 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_setinheritsched.3:28 +#: build/C/man3/pthread_attr_setinheritsched.3:30 msgid "" "pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit " "scheduler attribute in thread attributes object" @@ -2384,7 +2438,7 @@ msgstr "" "スレッド属性オブジェクトの inherit scheduler 属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:36 +#: build/C/man3/pthread_attr_setinheritsched.3:38 #, no-wrap msgid "" "BIB<,>\n" @@ -2398,7 +2452,7 @@ msgstr "" "B< int *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:53 +#: build/C/man3/pthread_attr_setinheritsched.3:55 msgid "" "The B() function sets the inherit scheduler " "attribute of the thread attributes object referred to by I to the " @@ -2415,18 +2469,18 @@ msgstr "" "するか、I からスケジューリング属性を取得するかが決定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:56 +#: build/C/man3/pthread_attr_setinheritsched.3:58 msgid "The following values may be specified in I:" msgstr "以下の値を I に指定できる。" #. type: TP -#: build/C/man3/pthread_attr_setinheritsched.3:56 +#: build/C/man3/pthread_attr_setinheritsched.3:58 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:64 +#: build/C/man3/pthread_attr_setinheritsched.3:66 msgid "" "Threads that are created using I inherit scheduling attributes from " "the creating thread; the scheduling attributes in I are ignored." @@ -2436,14 +2490,14 @@ msgstr "" "I 内のスケジューリング属性は無視される。" #. type: TP -#: build/C/man3/pthread_attr_setinheritsched.3:64 +#: build/C/man3/pthread_attr_setinheritsched.3:66 #, no-wrap msgid "B" msgstr "B" #. FIXME what are the defaults for scheduler settings? #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:71 +#: build/C/man3/pthread_attr_setinheritsched.3:73 msgid "" "Threads that are created using I take their scheduling attributes from " "the values specified by the attributes object." @@ -2452,7 +2506,7 @@ msgstr "" "指定された値からスケジューリング属性を取得する。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:75 +#: build/C/man3/pthread_attr_setinheritsched.3:77 msgid "" "The default setting of the inherit scheduler attribute in a newly " "initialized thread attributes object is B." @@ -2461,7 +2515,7 @@ msgstr "" "デフォルト設定は B である。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:82 +#: build/C/man3/pthread_attr_setinheritsched.3:84 msgid "" "The B() returns the inherit scheduler " "attribute of the thread attributes object I in the buffer pointed to " @@ -2472,19 +2526,19 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:88 +#: build/C/man3/pthread_attr_setinheritsched.3:90 msgid "B() can fail with the following error:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:92 +#: build/C/man3/pthread_attr_setinheritsched.3:94 msgid "Invalid value in I." msgstr "I に無効な値が指定された。" #. .SH VERSIONS #. Available since glibc 2.0. #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:99 +#: build/C/man3/pthread_attr_setinheritsched.3:101 msgid "" "POSIX.1-2001 also documents an optional B error (\"attempt was made " "to set the attribute to an unsupported value\") for " @@ -2497,7 +2551,7 @@ msgstr "" #. 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:117 +#: build/C/man3/pthread_attr_setinheritsched.3:119 msgid "" "As at glibc 2.8, if a thread attributes object is initialized using " "B(3), then the scheduling policy of the attributes object " @@ -2520,14 +2574,14 @@ msgstr "" "このバグは発生しない。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:120 -#: build/C/man3/pthread_attr_setschedparam.3:96 -#: build/C/man3/pthread_attr_setschedpolicy.3:92 +#: build/C/man3/pthread_attr_setinheritsched.3:122 +#: build/C/man3/pthread_attr_setschedparam.3:98 +#: build/C/man3/pthread_attr_setschedpolicy.3:94 msgid "See B(3)." msgstr "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setinheritsched.3:129 +#: build/C/man3/pthread_attr_setinheritsched.3:133 msgid "" "B(2), B(3), " "B(3), B(3), " @@ -2540,13 +2594,13 @@ msgstr "" "(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setschedparam.3:24 +#: build/C/man3/pthread_attr_setschedparam.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSCHEDPARAM" msgstr "PTHREAD_ATTR_SETSCHEDPARAM" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:28 +#: build/C/man3/pthread_attr_setschedparam.3:30 msgid "" "pthread_attr_setschedparam, pthread_attr_getschedparam - set/get scheduling " "parameter attributes in thread attributes object" @@ -2555,7 +2609,7 @@ msgstr "" "スレッド属性オブジェクトのスケジューリングパラメータ属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:36 +#: build/C/man3/pthread_attr_setschedparam.3:38 #, no-wrap msgid "" "BIB<,>\n" @@ -2569,7 +2623,7 @@ msgstr "" "B< struct sched_param *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:50 +#: build/C/man3/pthread_attr_setschedparam.3:52 msgid "" "The B() function sets the scheduling parameter " "attributes of the thread attributes object referred to by I to the " @@ -2584,7 +2638,7 @@ msgstr "" "作成されるスレッドのスケジューリングパラメータが決定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:57 +#: build/C/man3/pthread_attr_setschedparam.3:59 msgid "" "The B() returns the scheduling parameter " "attributes of the thread attributes object I in the buffer pointed to " @@ -2595,13 +2649,13 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:59 +#: build/C/man3/pthread_attr_setschedparam.3:61 msgid "Scheduling parameters are maintained in the following structure:" msgstr "スケジューリングパラメータは以下の構造体で管理される。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:65 -#: build/C/man3/pthread_setschedparam.3:67 +#: build/C/man3/pthread_attr_setschedparam.3:67 +#: build/C/man3/pthread_setschedparam.3:69 #, no-wrap msgid "" "struct sched_param {\n" @@ -2613,8 +2667,8 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:72 -#: build/C/man3/pthread_setschedparam.3:74 +#: build/C/man3/pthread_attr_setschedparam.3:74 +#: build/C/man3/pthread_setschedparam.3:76 msgid "" "As can be seen, only one scheduling parameter is supported. For details of " "the permitted ranges for scheduling priorities in each scheduling policy, " @@ -2627,7 +2681,7 @@ msgstr "" #. .SH VERSIONS #. Available since glibc 2.0. #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:87 +#: build/C/man3/pthread_attr_setschedparam.3:89 msgid "" "POSIX.1 documents B and B errors for " "B(). On Linux these functions always succeed " @@ -2642,7 +2696,7 @@ msgstr "" "正のエラーの返り値を処理するようにすべきである)。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:93 +#: build/C/man3/pthread_attr_setschedparam.3:95 msgid "" "See B(3) for a list of the thread scheduling " "policies supported on Linux." @@ -2651,7 +2705,7 @@ msgstr "" "ついては、 B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedparam.3:106 +#: build/C/man3/pthread_attr_setschedparam.3:110 msgid "" "B(2), B(2), B" "(3), B(3), B(3), " @@ -2664,13 +2718,13 @@ msgstr "" "(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setschedpolicy.3:24 +#: build/C/man3/pthread_attr_setschedpolicy.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSCHEDPOLICY" msgstr "PTHREAD_ATTR_SETSCHEDPOLICY" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:28 +#: build/C/man3/pthread_attr_setschedpolicy.3:30 msgid "" "pthread_attr_setschedpolicy, pthread_attr_getschedpolicy - set/get " "scheduling policy attribute in thread attributes object" @@ -2679,7 +2733,7 @@ msgstr "" "オブジェクトのスケジューリングポリシー属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:36 +#: build/C/man3/pthread_attr_setschedpolicy.3:38 #, no-wrap msgid "" "BIB<, int >IB<);>\n" @@ -2689,7 +2743,7 @@ msgstr "" "BIB<, int >I<*policy>B<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:50 +#: build/C/man3/pthread_attr_setschedpolicy.3:52 msgid "" "The B() function sets the scheduling policy " "attribute of the thread attributes object referred to by I to the " @@ -2706,7 +2760,7 @@ msgstr "" #. but pthread_attr_setschedpolicy() restricts policy to RR/FIFO/OTHER #. http://sourceware.org/bugzilla/show_bug.cgi?id=7013 #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:63 +#: build/C/man3/pthread_attr_setschedpolicy.3:65 msgid "" "The supported values for I are B, B, and " "B, with the semantics described in B(2)." @@ -2716,7 +2770,7 @@ msgstr "" "である。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:70 +#: build/C/man3/pthread_attr_setschedpolicy.3:72 msgid "" "The B() returns the scheduling policy " "attribute of the thread attributes object I in the buffer pointed to " @@ -2727,19 +2781,19 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:76 +#: build/C/man3/pthread_attr_setschedpolicy.3:78 msgid "B() can fail with the following error:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:80 +#: build/C/man3/pthread_attr_setschedpolicy.3:82 msgid "Invalid value in I." msgstr "I に無効な値が指定された。" #. .SH VERSIONS #. Available since glibc 2.0. #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:87 +#: build/C/man3/pthread_attr_setschedpolicy.3:89 msgid "" "POSIX.1-2001 also documents an optional B error (\"attempt was made " "to set the attribute to an unsupported value\") for " @@ -2750,7 +2804,7 @@ msgstr "" "も追加で規定されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setschedpolicy.3:101 +#: build/C/man3/pthread_attr_setschedpolicy.3:105 msgid "" "B(2), B(3), " "B(3), B(3), " @@ -2763,13 +2817,13 @@ msgstr "" "(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setscope.3:24 +#: build/C/man3/pthread_attr_setscope.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSCOPE" msgstr "PTHREAD_ATTR_SETSCOPE" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:28 +#: build/C/man3/pthread_attr_setscope.3:30 msgid "" "pthread_attr_setscope, pthread_attr_getscope - set/get contention scope " "attribute in thread attributes object" @@ -2778,7 +2832,7 @@ msgstr "" "スレッド属性オブジェクトの contention scope 属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:36 +#: build/C/man3/pthread_attr_setscope.3:38 #, no-wrap msgid "" "BIB<, int >IB<);>\n" @@ -2788,7 +2842,7 @@ msgstr "" "BIB<, int *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:51 +#: build/C/man3/pthread_attr_setscope.3:53 msgid "" "The B() function sets the contention scope attribute " "of the thread attributes object referred to by I to the value " @@ -2804,13 +2858,13 @@ msgstr "" "POSIX.1-2001 では I に指定する値として 2 つの値が規定されている。" #. type: TP -#: build/C/man3/pthread_attr_setscope.3:51 +#: build/C/man3/pthread_attr_setscope.3:53 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:59 +#: build/C/man3/pthread_attr_setscope.3:61 msgid "" "The thread competes for resources with all other threads in all processes on " "the system that are in the same scheduling allocation domain (a group of one " @@ -2824,13 +2878,13 @@ msgstr "" "優先度に基づき、互いに相対的にスケジューリングされる。" #. type: TP -#: build/C/man3/pthread_attr_setscope.3:59 +#: build/C/man3/pthread_attr_setscope.3:61 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:74 +#: build/C/man3/pthread_attr_setscope.3:76 msgid "" "The thread competes for resources with all other threads in the same process " "that were also created with the B contention scope. " @@ -2850,7 +2904,7 @@ msgstr "" "規定されないままになっている。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:81 +#: 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 " @@ -2863,7 +2917,7 @@ msgstr "" "B はサポートしていない。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:89 +#: build/C/man3/pthread_attr_setscope.3:91 msgid "" "The B() function returns the contention scope " "attribute of the thread attributes object referred to by I in the " @@ -2874,23 +2928,23 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:95 +#: build/C/man3/pthread_attr_setscope.3:97 msgid "B() can fail with the following errors:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:99 +#: build/C/man3/pthread_attr_setscope.3:101 msgid "An invalid value was specified in I." msgstr "I に無効な値が指定された。" #. type: TP -#: build/C/man3/pthread_attr_setscope.3:99 +#: build/C/man3/pthread_attr_setscope.3:101 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:105 +#: build/C/man3/pthread_attr_setscope.3:107 msgid "" "I specified the value B, which is not " "supported on Linux." @@ -2899,12 +2953,19 @@ msgstr "" "この値は Linux でサポートされていない。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:115 +#: build/C/man3/pthread_attr_setscope.3:117 +#, fuzzy +#| msgid "" +#| "The B 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." msgid "" -"The B 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." +"The B contention scope typically indicates that a user-" +"space 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." msgstr "" "B contention scope では、通常は、一つの\n" "ユーザ空間スレッドは一つのカーネルスケジューリング・エンティティに\n" @@ -2913,7 +2974,7 @@ msgstr "" "該当し、両方とも 1:1 で結び付けられるスレッド実装となっている。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:118 +#: build/C/man3/pthread_attr_setscope.3:120 msgid "" "POSIX.1-2001 specifies that the default contention scope is implementation-" "defined." @@ -2922,7 +2983,7 @@ msgstr "" "実装時で定義されるものと規定されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setscope.3:126 +#: build/C/man3/pthread_attr_setscope.3:130 msgid "" "B(3), B(3), " "B(3), B(3), " @@ -2933,13 +2994,13 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setstack.3:24 +#: build/C/man3/pthread_attr_setstack.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSTACK" msgstr "PTHREAD_ATTR_SETSTACK" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:28 +#: build/C/man3/pthread_attr_setstack.3:30 msgid "" "pthread_attr_setstack, pthread_attr_getstack - set/get stack attributes in " "thread attributes object" @@ -2948,7 +3009,7 @@ msgstr "" "スレッド属性オブジェクトのスタック属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:36 +#: build/C/man3/pthread_attr_setstack.3:38 #, no-wrap msgid "" "BIB<,>\n" @@ -2962,23 +3023,23 @@ msgstr "" "B< void **>IB<, size_t *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:43 build/C/man3/pthread_sigqueue.3:39 +#: build/C/man3/pthread_attr_setstack.3:45 build/C/man3/pthread_sigqueue.3:41 msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "glibc 向けの機能検査マクロの要件 (B(7) 参照):" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:48 +#: build/C/man3/pthread_attr_setstack.3:50 msgid "B(), B():" msgstr "B(), B():" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:50 +#: build/C/man3/pthread_attr_setstack.3:52 msgid "_POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ E=\\ 600" msgstr "_POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ E=\\ 600" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:66 +#: build/C/man3/pthread_attr_setstack.3:68 msgid "" "The B() function sets the stack address and stack " "size attributes of the thread attributes object referred to by I to " @@ -2994,7 +3055,7 @@ msgstr "" "作成されるスレッドが使用すべきスタックの位置とサイズが指定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:72 +#: build/C/man3/pthread_attr_setstack.3:74 msgid "" "I should point to the lowest addressable byte of a buffer of " "I bytes that was allocated by the caller. The pages of the " @@ -3006,7 +3067,7 @@ msgstr "" "べきである。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:83 +#: build/C/man3/pthread_attr_setstack.3:85 msgid "" "The B() function returns the stack address and stack " "size attributes of the thread attributes object referred to by I in " @@ -3018,12 +3079,12 @@ msgstr "" "指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:89 +#: build/C/man3/pthread_attr_setstack.3:91 msgid "B() can fail with the following error:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:100 +#: build/C/man3/pthread_attr_setstack.3:102 msgid "" "I is less than B (16384) bytes. On some " "systems, this error may also occur if I or I error if the stack area described " "by I and I is not both readable and writable by the " @@ -3046,12 +3107,12 @@ msgstr "" "呼び出し側から読み書き両方のアクセスができない状況を表す。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:110 +#: build/C/man3/pthread_attr_setstack.3:112 msgid "These functions are provided by glibc since version 2.2." msgstr "これらの関数は glibc バージョン 2.2 以降で提供されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:120 +#: build/C/man3/pthread_attr_setstack.3:122 msgid "" "These functions are provided for applications that must ensure that a " "thread's stack is placed in a particular location. For most applications, " @@ -3067,7 +3128,7 @@ msgstr "" "必要がある場合には B(3) を使うこと)" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:131 +#: build/C/man3/pthread_attr_setstack.3:133 msgid "" "When an application employs B(), it takes over the " "responsibility of allocating the stack. Any guard size value that was set " @@ -3085,7 +3146,7 @@ msgstr "" "スタックオーバーフローの可能性に対処するようにする必要がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:142 +#: build/C/man3/pthread_attr_setstack.3:144 msgid "" "The address specified in I should be suitably aligned: for full " "portability, align it on a page boundary (I). " @@ -3099,7 +3160,7 @@ msgstr "" "たいていは、 I はシステムのページサイズの倍数とすべきである。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:151 +#: build/C/man3/pthread_attr_setstack.3:153 msgid "" "If I is used to create multiple threads, then the caller must change " "the stack address attribute between calls to B(3); " @@ -3113,7 +3174,7 @@ msgstr "" "使おうとするため、訳の分からない状況が発生してしまう。" #. type: Plain text -#: build/C/man3/pthread_attr_setstack.3:164 +#: build/C/man3/pthread_attr_setstack.3:168 msgid "" "B(2), B(2), B(3), B(3), " "B(3), B(3), " @@ -3124,13 +3185,13 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setstackaddr.3:24 +#: build/C/man3/pthread_attr_setstackaddr.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSTACKADDR" msgstr "PTHREAD_ATTR_SETSTACKADDR" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:28 +#: build/C/man3/pthread_attr_setstackaddr.3:30 msgid "" "pthread_attr_setstackaddr, pthread_attr_getstackaddr - set/get stack address " "attribute in thread attributes object" @@ -3139,7 +3200,7 @@ msgstr "" "スレッド属性オブジェクトのスタックアドレス属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:36 +#: build/C/man3/pthread_attr_setstackaddr.3:38 #, no-wrap msgid "" "BIB<, void *>IB<);>\n" @@ -3149,7 +3210,7 @@ msgstr "" "BIB<, void **>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:47 +#: build/C/man3/pthread_attr_setstackaddr.3:49 msgid "" "These functions are obsolete: B Use " "B(3) and B(3) instead." @@ -3159,7 +3220,7 @@ msgstr "" "うこと。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:58 +#: build/C/man3/pthread_attr_setstackaddr.3:60 msgid "" "The B() function sets the stack address " "attribute of the thread attributes object referred to by I to the " @@ -3174,7 +3235,7 @@ msgstr "" "作成されるスレッドが使用すべきスタックの位置が指定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:64 +#: build/C/man3/pthread_attr_setstackaddr.3:66 msgid "" "I should point to a buffer of at least B bytes " "that was allocated by the caller. The pages of the allocated buffer should " @@ -3186,7 +3247,7 @@ msgstr "" "なっているべきである。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:72 +#: build/C/man3/pthread_attr_setstackaddr.3:74 msgid "" "The B() function returns the stack address " "attribute of the thread attributes object referred to by I in the " @@ -3197,7 +3258,7 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:79 +#: build/C/man3/pthread_attr_setstackaddr.3:81 msgid "" "No errors are defined (but applications should nevertheless handle a " "possible error return)." @@ -3206,7 +3267,7 @@ msgstr "" "返り値を処理するようにすべきである)。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:84 +#: build/C/man3/pthread_attr_setstackaddr.3:86 msgid "" "POSIX.1-2001 specifies these functions but marks them as obsolete. " "POSIX.1-2008 removes the specification of these functions." @@ -3215,7 +3276,7 @@ msgstr "" "POSIX.1-2008 では、これらの関数の規定は削除されている。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:108 +#: build/C/man3/pthread_attr_setstackaddr.3:110 msgid "" "I They cannot be portably used, since they " "provide no way of specifying the direction of growth or the range of the " @@ -3241,7 +3302,7 @@ msgstr "" "へのポインタである (I 引き数はスタックの範囲を指定する)。" #. type: Plain text -#: build/C/man3/pthread_attr_setstackaddr.3:114 +#: build/C/man3/pthread_attr_setstackaddr.3:116 msgid "" "B(3), B(3), " "B(3), B(3), B(7)" @@ -3250,13 +3311,13 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_attr_setstacksize.3:24 +#: build/C/man3/pthread_attr_setstacksize.3:26 #, no-wrap msgid "PTHREAD_ATTR_SETSTACKSIZE" msgstr "PTHREAD_ATTR_SETSTACKSIZE" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:28 +#: build/C/man3/pthread_attr_setstacksize.3:30 msgid "" "pthread_attr_setstacksize, pthread_attr_getstacksize - set/get stack size " "attribute in thread attributes object" @@ -3265,7 +3326,7 @@ msgstr "" "スレッド属性オブジェクトのスタックサイズ属性の設定/取得を行う" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:36 +#: build/C/man3/pthread_attr_setstacksize.3:38 #, no-wrap msgid "" "BIB<, size_t >IB<);>\n" @@ -3275,7 +3336,7 @@ msgstr "" "BIB<, size_t *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:47 +#: build/C/man3/pthread_attr_setstacksize.3:49 msgid "" "The B() function sets the stack size attribute " "of the thread attributes object referred to by I to the value " @@ -3286,7 +3347,7 @@ msgstr "" "属性を I で指定された値に設定する。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:51 +#: build/C/man3/pthread_attr_setstacksize.3:53 msgid "" "The stack size attribute determines the minimum size (in bytes) that will be " "allocated for threads created using the thread attributes object I." @@ -3296,7 +3357,7 @@ msgstr "" "に割り当てられる最小サイズ (バイト単位) が決定される。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:59 +#: build/C/man3/pthread_attr_setstacksize.3:61 msgid "" "The B() function returns the stack size " "attribute of the thread attributes object referred to by I in the " @@ -3307,18 +3368,18 @@ msgstr "" "I が指すバッファに入れて返す。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:65 +#: build/C/man3/pthread_attr_setstacksize.3:67 msgid "B() can fail with the following error:" msgstr "B() は以下のエラーで失敗する場合がある。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:70 +#: build/C/man3/pthread_attr_setstacksize.3:72 msgid "The stack size is less than B (16384) bytes." msgstr "スタックサイズが B (16384) バイト未満である。" #. e.g., MacOS #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:79 +#: build/C/man3/pthread_attr_setstacksize.3:81 msgid "" "On some systems, B() can fail with the error " "B if I is not a multiple of the system page size." @@ -3328,7 +3389,7 @@ msgstr "" "エラー B で失敗する。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:86 +#: build/C/man3/pthread_attr_setstacksize.3:88 msgid "" "For details on the default stack size of new threads, see B" "(3)." @@ -3337,7 +3398,7 @@ msgstr "" "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:89 +#: build/C/man3/pthread_attr_setstacksize.3:91 msgid "" "A thread's stack size is fixed at the time of thread creation. Only the " "main thread can dynamically grow its stack." @@ -3346,7 +3407,7 @@ msgstr "" "メインスレッドだけがスタックを動的に伸ばすことができる。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:94 +#: build/C/man3/pthread_attr_setstacksize.3:96 msgid "" "The B(3) function allows an application to set both " "the size and location of a caller-allocated stack that is to be used by a " @@ -3357,7 +3418,7 @@ msgstr "" "呼び出し側で割り当てたスタックのサイズと場所を指定できる。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:106 +#: build/C/man3/pthread_attr_setstacksize.3:108 msgid "" "As at glibc 2.8, if the specified I is not a multiple of " "B (16 bytes on most architectures), it may be rounded " @@ -3372,13 +3433,13 @@ msgstr "" "少なくとも I バイトになると書かれている。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:109 -#: build/C/man3/pthread_join.3:125 +#: build/C/man3/pthread_attr_setstacksize.3:111 +#: build/C/man3/pthread_join.3:127 msgid "See B(3)." msgstr "B(3) を参照。" #. type: Plain text -#: build/C/man3/pthread_attr_setstacksize.3:116 +#: build/C/man3/pthread_attr_setstacksize.3:118 msgid "" "B(2), B(3), B(3), " "B(3), B(3), B(7)" @@ -3387,30 +3448,30 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_cancel.3:24 +#: build/C/man3/pthread_cancel.3:26 #, no-wrap msgid "PTHREAD_CANCEL" msgstr "PTHREAD_CANCEL" #. type: TH -#: build/C/man3/pthread_cancel.3:24 build/C/man3/pthread_setschedparam.3:24 +#: build/C/man3/pthread_cancel.3:26 build/C/man3/pthread_setschedparam.3:26 #, no-wrap msgid "2008-11-17" msgstr "2008-11-17" #. type: Plain text -#: build/C/man3/pthread_cancel.3:27 +#: build/C/man3/pthread_cancel.3:29 msgid "pthread_cancel - send a cancellation request to a thread" msgstr "pthread_cancel - スレッドにキャンセル要求を送る" #. type: Plain text -#: build/C/man3/pthread_cancel.3:32 +#: build/C/man3/pthread_cancel.3:34 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:44 +#: build/C/man3/pthread_cancel.3:46 msgid "" "The B() function sends a cancellation request to the thread " "I. Whether and when the target thread reacts to the cancellation " @@ -3423,7 +3484,7 @@ msgstr "" "I と Iにより決まる。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:56 +#: build/C/man3/pthread_cancel.3:58 msgid "" "A thread's cancelability state, determined by B(3), " "can be I (the default for new threads) or I. If a thread " @@ -3439,7 +3500,7 @@ msgstr "" "cancelability type によって、いつキャンセルが発生するかが決まる。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:72 +#: build/C/man3/pthread_cancel.3:74 msgid "" "A thread's cancellation type, determined by B(3), may " "be either I or I (the default for new threads). " @@ -3461,7 +3522,7 @@ msgstr "" "したりできる関数のリストは I(7) に記載している。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:76 +#: build/C/man3/pthread_cancel.3:78 msgid "" "When a cancellation requested is acted on, the following steps occur for " "I (in this order):" @@ -3470,13 +3531,13 @@ msgstr "" "I では以下のステップが (この順序で) 行われる。" #. type: IP -#: build/C/man3/pthread_cancel.3:76 build/C/man3/pthread_cleanup_push.3:67 +#: build/C/man3/pthread_cancel.3:78 build/C/man3/pthread_cleanup_push.3:69 #, no-wrap msgid "1." msgstr "1." #. type: Plain text -#: build/C/man3/pthread_cancel.3:81 +#: build/C/man3/pthread_cancel.3:83 msgid "" "Cancellation clean-up handlers are popped (in the reverse of the order in " "which they were pushed) and called. (See B(3).)" @@ -3486,13 +3547,13 @@ msgstr "" "(B(3) 参照)" #. type: IP -#: build/C/man3/pthread_cancel.3:81 build/C/man3/pthread_cleanup_push.3:71 +#: build/C/man3/pthread_cancel.3:83 build/C/man3/pthread_cleanup_push.3:73 #, no-wrap msgid "2." msgstr "2." #. type: Plain text -#: build/C/man3/pthread_cancel.3:86 +#: build/C/man3/pthread_cancel.3:88 msgid "" "Thread-specific data destructors are called, in an unspecified order. (See " "B(3).)" @@ -3502,18 +3563,18 @@ msgstr "" "(B(3) 参照)" #. type: IP -#: build/C/man3/pthread_cancel.3:86 build/C/man3/pthread_cleanup_push.3:79 +#: build/C/man3/pthread_cancel.3:88 build/C/man3/pthread_cleanup_push.3:81 #, no-wrap msgid "3." msgstr "3." #. type: Plain text -#: build/C/man3/pthread_cancel.3:90 +#: build/C/man3/pthread_cancel.3:92 msgid "The thread is terminated. (See B(3).)" msgstr "スレッドが終了される。 (B(3) 参照)" #. type: Plain text -#: build/C/man3/pthread_cancel.3:98 +#: build/C/man3/pthread_cancel.3:100 msgid "" "The above steps happen asynchronously with respect to the B" "() call; the return status of B() merely informs the " @@ -3524,7 +3585,7 @@ msgstr "" "キューに入れられたかどうかを呼び出し元に示すだけのものである。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:107 +#: build/C/man3/pthread_cancel.3:109 msgid "" "After a canceled thread has terminated, a join with that thread using " "B(3) obtains B as the thread's exit " @@ -3537,7 +3598,7 @@ msgstr "" "(スレッドの join はキャンセルが完了したかを知る唯一の方法である)" #. type: Plain text -#: build/C/man3/pthread_cancel.3:112 +#: build/C/man3/pthread_cancel.3:114 msgid "" "On success, B() returns 0; on error, it returns a nonzero " "error number." @@ -3546,26 +3607,26 @@ msgstr "" "エラーの場合、0 以外のエラー番号を返す。" #. type: TP -#: build/C/man3/pthread_cancel.3:113 build/C/man3/pthread_detach.3:57 -#: build/C/man3/pthread_getcpuclockid.3:56 build/C/man3/pthread_join.3:91 -#: build/C/man3/pthread_kill.3:59 build/C/man3/pthread_setaffinity_np.3:112 -#: build/C/man3/pthread_setschedparam.3:112 -#: build/C/man3/pthread_setschedprio.3:68 build/C/man3/pthread_sigqueue.3:83 +#: build/C/man3/pthread_cancel.3:115 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_setschedparam.3:114 +#: build/C/man3/pthread_setschedprio.3:70 build/C/man3/pthread_sigqueue.3:85 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_cancel.3:120 build/C/man3/pthread_detach.3:62 -#: build/C/man3/pthread_getcpuclockid.3:61 build/C/man3/pthread_join.3:96 -#: build/C/man3/pthread_kill.3:64 build/C/man3/pthread_setaffinity_np.3:117 -#: build/C/man3/pthread_setschedparam.3:117 -#: build/C/man3/pthread_setschedprio.3:73 +#: build/C/man3/pthread_cancel.3:122 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_setschedparam.3:119 +#: build/C/man3/pthread_setschedprio.3:75 msgid "No thread with the ID I could be found." msgstr "ID が I のスレッドが見つからなかった。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:130 +#: build/C/man3/pthread_cancel.3:132 msgid "" "On Linux, cancellation is implemented using signals. Under the NPTL " "threading implementation, the first real-time signal (i.e., signal 32) is " @@ -3580,7 +3641,7 @@ msgstr "" "シグナルが使用され、そうでない場合は B が使用される。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:136 +#: build/C/man3/pthread_cancel.3:138 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 " @@ -3594,7 +3655,7 @@ msgstr "" "確認する。以下のシェルセッションはこのプログラムを実行した際の実行例である。" #. type: Plain text -#: build/C/man3/pthread_cancel.3:144 +#: build/C/man3/pthread_cancel.3:146 #, no-wrap msgid "" "$ ./a.out\n" @@ -3610,7 +3671,7 @@ msgstr "" "main(): thread was canceled\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:154 +#: build/C/man3/pthread_cancel.3:156 #, no-wrap msgid "" "#include Epthread.hE\n" @@ -3626,7 +3687,7 @@ msgstr "" "#include Eunistd.hE\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:162 +#: build/C/man3/pthread_cancel.3:164 #, no-wrap msgid "" "static void *\n" @@ -3640,7 +3701,7 @@ msgstr "" " int s;\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:165 +#: build/C/man3/pthread_cancel.3:167 #, no-wrap msgid "" " /* Disable cancellation for a while, so that we don\\(aqt\n" @@ -3650,7 +3711,7 @@ msgstr "" " immediately react to a cancellation request */\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:169 +#: build/C/man3/pthread_cancel.3:171 #, no-wrap msgid "" " s = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);\n" @@ -3662,7 +3723,7 @@ msgstr "" " handle_error_en(s, \"pthread_setcancelstate\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:173 +#: build/C/man3/pthread_cancel.3:175 #, no-wrap msgid "" " printf(\"thread_func(): started; cancellation disabled\\en\");\n" @@ -3674,7 +3735,7 @@ msgstr "" " printf(\"thread_func(): about to enable cancellation\\en\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:177 +#: build/C/man3/pthread_cancel.3:179 #, no-wrap msgid "" " s = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);\n" @@ -3686,25 +3747,25 @@ msgstr "" " handle_error_en(s, \"pthread_setcancelstate\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:179 +#: build/C/man3/pthread_cancel.3:181 #, 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:181 +#: build/C/man3/pthread_cancel.3:183 #, 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:183 +#: build/C/man3/pthread_cancel.3:185 #, no-wrap msgid " /* Should never get here */\n" msgstr " /* Should never get here */\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:187 +#: build/C/man3/pthread_cancel.3:189 #, no-wrap msgid "" " printf(\"thread_func(): not canceled!\\en\");\n" @@ -3716,7 +3777,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:194 +#: build/C/man3/pthread_cancel.3:196 #, no-wrap msgid "" "int\n" @@ -3734,13 +3795,13 @@ msgstr "" " int s;\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:196 +#: build/C/man3/pthread_cancel.3:198 #, 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:200 +#: build/C/man3/pthread_cancel.3:202 #, no-wrap msgid "" " s = pthread_create(&thr, NULL, &thread_func, NULL);\n" @@ -3752,13 +3813,13 @@ msgstr "" " handle_error_en(s, \"pthread_create\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:202 +#: build/C/man3/pthread_cancel.3:204 #, 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:207 +#: build/C/man3/pthread_cancel.3:209 #, no-wrap msgid "" " printf(\"main(): sending cancellation request\\en\");\n" @@ -3772,13 +3833,13 @@ msgstr "" " handle_error_en(s, \"pthread_cancel\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:209 +#: build/C/man3/pthread_cancel.3:211 #, 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:213 build/C/man3/pthread_cleanup_push.3:301 +#: build/C/man3/pthread_cancel.3:215 build/C/man3/pthread_cleanup_push.3:303 #, no-wrap msgid "" " s = pthread_join(thr, &res);\n" @@ -3790,7 +3851,7 @@ msgstr "" " handle_error_en(s, \"pthread_join\");\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:220 +#: build/C/man3/pthread_cancel.3:222 #, no-wrap msgid "" " if (res == PTHREAD_CANCELED)\n" @@ -3808,7 +3869,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_cancel.3:231 +#: build/C/man3/pthread_cancel.3:235 msgid "" "B(3), B(3), B(3), " "B(3), B(3), B(3), " @@ -3819,20 +3880,20 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_cleanup_push.3:24 +#: build/C/man3/pthread_cleanup_push.3:26 #, no-wrap msgid "PTHREAD_CLEANUP_PUSH" msgstr "PTHREAD_CLEANUP_PUSH" #. type: TH -#: build/C/man3/pthread_cleanup_push.3:24 -#: build/C/man3/pthread_setcancelstate.3:24 +#: build/C/man3/pthread_cleanup_push.3:26 +#: build/C/man3/pthread_setcancelstate.3:26 #, no-wrap msgid "2008-11-24" msgstr "2008-11-24" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:28 +#: build/C/man3/pthread_cleanup_push.3:30 msgid "" "pthread_cleanup_push, pthread_cleanup_pop - push and pop thread cancellation " "clean-up handlers" @@ -3841,7 +3902,7 @@ msgstr "" "キャンセルクリーンアップハンドラの push/pop を行う" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:35 +#: build/C/man3/pthread_cleanup_push.3:37 #, no-wrap msgid "" "BIB<)(void *),>\n" @@ -3853,7 +3914,7 @@ msgstr "" "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:46 +#: build/C/man3/pthread_cleanup_push.3:48 msgid "" "These functions manipulate the calling thread's stack of thread-cancellation " "clean-up handlers. A clean-up handler is a function that is automatically " @@ -3868,7 +3929,7 @@ msgstr "" "他のスレッドが利用できるようにする関数などが考えられる。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:57 +#: build/C/man3/pthread_cleanup_push.3:59 msgid "" "The B() function pushes I onto the top of " "the stack of clean-up handlers. When I is later invoked, it will " @@ -3879,7 +3940,7 @@ msgstr "" "起動される際には、 I が関数の引き数と渡される。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:64 +#: build/C/man3/pthread_cleanup_push.3:66 msgid "" "The B() function removes the routine at the top of the " "stack of clean-up handlers, and optionally executes it if I is " @@ -3890,7 +3951,7 @@ msgstr "" "I が 0 以外の場合にはそのルーチンを追加で実行する。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:67 +#: build/C/man3/pthread_cleanup_push.3:69 msgid "" "A cancellation clean-up handler is popped from the stack and executed in the " "following circumstances:" @@ -3899,7 +3960,7 @@ msgstr "" "スタックから取り出され実行される。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:71 +#: build/C/man3/pthread_cleanup_push.3:73 msgid "" "When a thread is canceled, all of the stacked clean-up handlers are popped " "and executed in the reverse of the order in which they were pushed onto the " @@ -3910,7 +3971,7 @@ msgstr "" "実行は、スタックに登録されたのと逆の順序で行われる。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:79 +#: build/C/man3/pthread_cleanup_push.3:81 msgid "" "When a thread terminates by calling B(3), all clean-up " "handlers are executed as described in the preceding point. (Clean-up " @@ -3923,7 +3984,7 @@ msgstr "" "は、クリーンアップハンドラはI<呼び出されない>。)" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:85 +#: build/C/man3/pthread_cleanup_push.3:87 msgid "" "When a thread calls B() with a nonzero I " "argument, the top-most clean-up handler is popped and executed." @@ -3933,7 +3994,7 @@ msgstr "" "実行される。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:97 +#: build/C/man3/pthread_cleanup_push.3:99 msgid "" "POSIX.1 permits B() and B() to " "be implemented as macros that expand to text containing \\(aqB<{>\\(aq and " @@ -3951,7 +4012,7 @@ msgstr "" "の特定のセクションの実行の中でのみ設定するものであると言える。)" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:117 +#: build/C/man3/pthread_cleanup_push.3:119 msgid "" "Calling B(3) (B(3)) produces undefined results if any " "call has been made to B() or B" @@ -3971,19 +4032,19 @@ msgstr "" "結果になるかは不定である。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:119 +#: build/C/man3/pthread_cleanup_push.3:121 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:123 +#: build/C/man3/pthread_cleanup_push.3:125 msgid "There are no errors." msgstr "エラーはない。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:134 +#: build/C/man3/pthread_cleanup_push.3:136 msgid "" "On Linux, the B() and B() " "functions I implemented as macros that expand to text containing \\(aqB<" @@ -3999,7 +4060,7 @@ msgstr "" #. The text was actually added in the 2004 TC2 #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:149 +#: build/C/man3/pthread_cleanup_push.3:151 msgid "" "POSIX.1 says that the effect of using I, I, I, or " "I to prematurely leave a block bracketed B() " @@ -4013,7 +4074,7 @@ msgstr "" "移植性が必要なアプリケーションではこれを行うのは避けるべきである。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:164 +#: build/C/man3/pthread_cleanup_push.3:166 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 " @@ -4033,7 +4094,7 @@ msgstr "" "設定したりする。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:167 +#: build/C/man3/pthread_cleanup_push.3:169 msgid "" "In the following shell session, the main thread sends a cancellation request " "to the other thread:" @@ -4042,7 +4103,7 @@ msgstr "" "キャンセル要求を送信する。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:177 +#: build/C/man3/pthread_cleanup_push.3:179 #, no-wrap msgid "" "$ B<./a.out>\n" @@ -4062,7 +4123,7 @@ msgstr "" "Thread was canceled; cnt = 0\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:185 +#: build/C/man3/pthread_cleanup_push.3:187 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 " @@ -4073,7 +4134,7 @@ msgstr "" "グローバル変数 I の値が 0 にリセットされていることが確認できる。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:188 +#: build/C/man3/pthread_cleanup_push.3:190 msgid "" "In the next run, the main program sets a global variable that causes other " "thread to terminate normally:" @@ -4082,7 +4143,7 @@ msgstr "" "もう一つのスレッドが正常終了するようにしている。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:196 +#: build/C/man3/pthread_cleanup_push.3:198 #, no-wrap msgid "" "$ B<./a.out x>\n" @@ -4098,7 +4159,7 @@ msgstr "" "Thread terminated normally; cnt = 2\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:204 +#: build/C/man3/pthread_cleanup_push.3:206 msgid "" "From the above, we see that the clean-up handler was not executed (because " "I was 0), and therefore the value of I was not reset." @@ -4108,7 +4169,7 @@ msgstr "" "分かる。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:209 +#: build/C/man3/pthread_cleanup_push.3:211 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 " @@ -4119,7 +4180,7 @@ msgstr "" "I に 0 以外の値を渡している。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:218 +#: build/C/man3/pthread_cleanup_push.3:220 #, no-wrap msgid "" "$ B<./a.out x 1>\n" @@ -4137,7 +4198,7 @@ msgstr "" "Thread terminated normally; cnt = 0\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:225 +#: build/C/man3/pthread_cleanup_push.3:227 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" @@ -4148,7 +4209,7 @@ msgstr "" "に 0 以外を渡したからである。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:234 +#: build/C/man3/pthread_cleanup_push.3:236 #, no-wrap msgid "" "#include Epthread.hE\n" @@ -4166,7 +4227,7 @@ msgstr "" "#include Eerrno.hE\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:241 +#: build/C/man3/pthread_cleanup_push.3:243 #, no-wrap msgid "" "static int done = 0;\n" @@ -4178,7 +4239,7 @@ msgstr "" "static int cnt = 0;\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:248 +#: build/C/man3/pthread_cleanup_push.3:250 #, no-wrap msgid "" "static void\n" @@ -4196,7 +4257,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:253 +#: build/C/man3/pthread_cleanup_push.3:255 #, no-wrap msgid "" "static void *\n" @@ -4210,25 +4271,25 @@ msgstr "" " time_t start, curr;\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:255 +#: build/C/man3/pthread_cleanup_push.3:257 #, 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:257 +#: build/C/man3/pthread_cleanup_push.3:259 #, 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:259 +#: build/C/man3/pthread_cleanup_push.3:261 #, no-wrap msgid " curr = start = time(NULL);\n" msgstr " curr = start = time(NULL);\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:268 +#: build/C/man3/pthread_cleanup_push.3:270 #, no-wrap msgid "" " while (!done) {\n" @@ -4250,7 +4311,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:272 +#: build/C/man3/pthread_cleanup_push.3:274 #, no-wrap msgid "" " pthread_cleanup_pop(cleanup_pop_arg);\n" @@ -4262,7 +4323,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:279 +#: build/C/man3/pthread_cleanup_push.3:281 #, no-wrap msgid "" "int\n" @@ -4280,7 +4341,7 @@ msgstr "" " void *res;\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:283 +#: build/C/man3/pthread_cleanup_push.3:285 #, no-wrap msgid "" " s = pthread_create(&thr, NULL, thread_start, NULL);\n" @@ -4292,13 +4353,13 @@ msgstr "" " handle_error_en(s, \"pthread_create\");\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:285 +#: build/C/man3/pthread_cleanup_push.3:287 #, 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:290 +#: build/C/man3/pthread_cleanup_push.3:292 #, no-wrap msgid "" " if (argc E 1) {\n" @@ -4312,7 +4373,7 @@ msgstr "" " done = 1;\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:297 +#: build/C/man3/pthread_cleanup_push.3:299 #, no-wrap msgid "" " } else {\n" @@ -4330,7 +4391,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:308 +#: build/C/man3/pthread_cleanup_push.3:310 #, no-wrap msgid "" " if (res == PTHREAD_CANCELED)\n" @@ -4348,7 +4409,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push.3:315 +#: build/C/man3/pthread_cleanup_push.3:317 msgid "" "B(3), B(3), " "B(3), B(3), B(7)" @@ -4357,19 +4418,19 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_cleanup_push_defer_np.3:24 +#: build/C/man3/pthread_cleanup_push_defer_np.3:26 #, no-wrap msgid "PTHREAD_CLEANUP_PUSH_DEFER_NP" msgstr "PTHREAD_CLEANUP_PUSH_DEFER_NP" #. type: TH -#: build/C/man3/pthread_cleanup_push_defer_np.3:24 +#: build/C/man3/pthread_cleanup_push_defer_np.3:26 #, no-wrap msgid "2008-12-04" msgstr "2008-12-04" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:28 +#: build/C/man3/pthread_cleanup_push_defer_np.3:30 msgid "" "pthread_cleanup_push_defer_np, pthread_cleanup_pop_restore_np - push and pop " "thread cancellation clean-up handlers while saving cancelability type" @@ -4379,7 +4440,7 @@ msgstr "" "の push/pop を行う" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:35 +#: build/C/man3/pthread_cleanup_push_defer_np.3:37 #, no-wrap msgid "" "BIB<)(void *),>\n" @@ -4391,16 +4452,17 @@ msgstr "" "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:38 -#: build/C/man3/pthread_create.3:36 build/C/man3/pthread_detach.3:35 -#: build/C/man3/pthread_join.3:35 build/C/man3/pthread_kill.3:35 -#: build/C/man3/pthread_sigmask.3:36 build/C/man3/pthread_sigqueue.3:35 -#: build/C/man3/pthread_tryjoin_np.3:40 build/C/man3/pthread_yield.3:34 +#: build/C/man3/pthread_cleanup_push_defer_np.3:40 +#: build/C/man3/pthread_create.3:38 build/C/man3/pthread_detach.3:37 +#: build/C/man3/pthread_join.3:37 build/C/man3/pthread_kill.3:37 +#: build/C/man3/pthread_setname_np.3:39 build/C/man3/pthread_sigmask.3:38 +#: build/C/man3/pthread_sigqueue.3:37 build/C/man3/pthread_tryjoin_np.3:42 +#: build/C/man3/pthread_yield.3:37 msgid "Compile and link with I<-pthread>." msgstr "I<-pthread> を付けてコンパイルとリンクを行う。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:44 +#: build/C/man3/pthread_cleanup_push_defer_np.3:46 msgid "" "These functions are the same as B(3) and " "B(3), except for the differences noted on this page." @@ -4409,7 +4471,7 @@ msgstr "" "だが、このページで説明する点が異なる。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:57 +#: build/C/man3/pthread_cleanup_push_defer_np.3:59 msgid "" "Like B(3), B() pushes " "I onto the thread's stack of cancellation clean-up handlers. In " @@ -4429,7 +4491,7 @@ msgstr "" "が保証される。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:66 +#: build/C/man3/pthread_cleanup_push_defer_np.3:68 msgid "" "Like B(3), B() pops " "the top-most clean-up handler from the thread's stack of cancellation clean-" @@ -4443,7 +4505,7 @@ msgstr "" "する B() が呼ばれた時点の値に戻す。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:72 +#: build/C/man3/pthread_cleanup_push_defer_np.3:74 msgid "" "The caller must ensure that calls to these functions are paired within the " "same function, and at the same lexical nesting level. Other restrictions " @@ -4455,12 +4517,12 @@ msgstr "" "適用される。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:74 +#: build/C/man3/pthread_cleanup_push_defer_np.3:76 msgid "This sequence of calls:" msgstr "以下の一連の呼び出し" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:79 +#: build/C/man3/pthread_cleanup_push_defer_np.3:81 #, no-wrap msgid "" "pthread_cleanup_push_defer_np(routine, arg);\n" @@ -4470,18 +4532,18 @@ msgstr "" "pthread_cleanup_pop_restore_np(execute);\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:83 +#: build/C/man3/pthread_cleanup_push_defer_np.3:85 msgid "is equivalent to (but shorter and more efficient than):" msgstr "と以下は等価である (但し、上の方がより簡潔で効率的である)。" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:89 +#: build/C/man3/pthread_cleanup_push_defer_np.3:91 #, no-wrap msgid "int oldtype;\n" msgstr "int oldtype;\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:95 +#: build/C/man3/pthread_cleanup_push_defer_np.3:97 #, no-wrap msgid "" "pthread_cleanup_push(routine, arg);\n" @@ -4497,7 +4559,7 @@ msgstr "" "pthread_cleanup_pop(execute);\n" #. type: Plain text -#: build/C/man3/pthread_cleanup_push_defer_np.3:108 +#: build/C/man3/pthread_cleanup_push_defer_np.3:110 msgid "" "B(3), B(3), B" "(3), B(3), B(7)" @@ -4506,18 +4568,25 @@ msgstr "" "(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_create.3:24 +#: build/C/man3/pthread_create.3:26 #, no-wrap msgid "PTHREAD_CREATE" 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" +msgid "2012-08-03" +msgstr "2012-03-15" + #. type: Plain text -#: build/C/man3/pthread_create.3:27 +#: build/C/man3/pthread_create.3:29 msgid "pthread_create - create a new thread" msgstr "pthread_create - 新しいスレッドを作成する" #. type: Plain text -#: build/C/man3/pthread_create.3:33 +#: build/C/man3/pthread_create.3:35 #, no-wrap msgid "" "BIB<, const pthread_attr_t *>IB<,>\n" @@ -4527,7 +4596,7 @@ msgstr "" "B< void *(*>IB<) (void *), void *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_create.3:45 +#: build/C/man3/pthread_create.3:47 msgid "" "The B() function starts a new thread in the calling " "process. The new thread starts execution by invoking I(); " @@ -4540,21 +4609,21 @@ msgstr "" "I が I() の引き数として渡される。" #. type: Plain text -#: build/C/man3/pthread_create.3:47 +#: build/C/man3/pthread_create.3:49 msgid "The new thread terminates in one of the following ways:" msgstr "新しく作成されたスレッドは、以下のいずれかで終了する。" #. type: IP -#: build/C/man3/pthread_create.3:47 build/C/man3/pthread_create.3:53 -#: build/C/man3/pthread_create.3:61 build/C/man3/pthread_create.3:64 -#: build/C/man3/pthread_getattr_np.3:50 build/C/man3/pthread_getattr_np.3:53 -#: build/C/man3/pthread_getattr_np.3:56 +#: build/C/man3/pthread_create.3:49 build/C/man3/pthread_create.3:55 +#: build/C/man3/pthread_create.3:63 build/C/man3/pthread_create.3:66 +#: build/C/man3/pthread_getattr_np.3:52 build/C/man3/pthread_getattr_np.3:55 +#: build/C/man3/pthread_getattr_np.3:58 #, no-wrap msgid "*" msgstr "*" #. type: Plain text -#: build/C/man3/pthread_create.3:53 +#: build/C/man3/pthread_create.3:55 msgid "" "It calls B(3), specifying an exit status value that is " "available to another thread in the same process that calls B" @@ -4566,7 +4635,7 @@ msgstr "" "別のスレッドで参照できる。" #. type: Plain text -#: build/C/man3/pthread_create.3:61 +#: build/C/man3/pthread_create.3:63 msgid "" "It returns from I(). This is equivalent to calling " "B(3) with the value supplied in the I statement." @@ -4575,12 +4644,12 @@ msgstr "" "I 文に渡した値で B(3) を呼び出すのと等価である。" #. type: Plain text -#: build/C/man3/pthread_create.3:64 +#: build/C/man3/pthread_create.3:66 msgid "It is canceled (see B(3))." msgstr "スレッドがキャンセルされる (B(3) 参照)。" #. type: Plain text -#: build/C/man3/pthread_create.3:70 +#: build/C/man3/pthread_create.3:72 msgid "" "Any of the threads in the process calls B(3), or the main thread " "performs a return from I
(). This causes the termination of all " @@ -4591,7 +4660,7 @@ msgstr "" "この場合は、プロセス内の全てのスレッドが終了される。" #. type: Plain text -#: build/C/man3/pthread_create.3:84 +#: build/C/man3/pthread_create.3:86 msgid "" "The I argument points to a I structure whose contents " "are used at thread creation time to determine attributes for the new thread; " @@ -4606,7 +4675,7 @@ msgstr "" "I が NULL の場合、新しいスレッドはデフォルトの属性で作成される。" #. type: Plain text -#: build/C/man3/pthread_create.3:91 +#: build/C/man3/pthread_create.3:93 msgid "" "Before returning, a successful call to B() stores the ID of " "the new thread in the buffer pointed to by I; this identifier is " @@ -4617,7 +4686,7 @@ msgstr "" "pthreads 関数の呼び出しでスレッドを参照するのに使用される。" #. type: Plain text -#: build/C/man3/pthread_create.3:99 +#: build/C/man3/pthread_create.3:101 msgid "" "The new thread inherits a copy of the creating thread's signal mask " "(B(3)). The set of pending signals for the new thread is " @@ -4631,7 +4700,7 @@ msgstr "" "(B(2)) を継承しない。" #. type: Plain text -#: build/C/man3/pthread_create.3:102 +#: build/C/man3/pthread_create.3:104 msgid "" "The new thread inherits the calling thread's floating-point environment " "(B(3))." @@ -4641,7 +4710,7 @@ msgstr "" #. CLOCK_THREAD_CPUTIME_ID in clock_gettime(2) #. type: Plain text -#: build/C/man3/pthread_create.3:107 +#: build/C/man3/pthread_create.3:109 msgid "" "The initial value of the new thread's CPU-time clock is 0 (see " "B(3))." @@ -4650,13 +4719,13 @@ msgstr "" "(B(3) 参照)。" #. type: SS -#: build/C/man3/pthread_create.3:107 +#: build/C/man3/pthread_create.3:109 #, no-wrap msgid "Linux-specific details" msgstr "Linux 固有の詳細" #. type: Plain text -#: build/C/man3/pthread_create.3:113 +#: build/C/man3/pthread_create.3:115 msgid "" "The new thread inherits copies of the calling thread's capability sets (see " "B(7)) and CPU affinity mask (see B(2))." @@ -4667,7 +4736,7 @@ msgstr "" "コピーをを継承しない。" #. type: Plain text -#: build/C/man3/pthread_create.3:120 +#: build/C/man3/pthread_create.3:122 msgid "" "On success, B() returns 0; on error, it returns an error " "number, and the contents of I<*thread> are undefined." @@ -4676,13 +4745,13 @@ msgstr "" "エラーの場合は、エラー番号が返され、 I<*thread> の内容は不定である。" #. type: TP -#: build/C/man3/pthread_create.3:121 build/C/man3/pthread_sigqueue.3:69 +#: build/C/man3/pthread_create.3:123 build/C/man3/pthread_sigqueue.3:71 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_create.3:135 +#: build/C/man3/pthread_create.3:137 msgid "" "Insufficient resources to create another thread, or a system-imposed limit " "on the number of threads was encountered. The latter case may occur in two " @@ -4699,19 +4768,19 @@ msgstr "" "I が達していた場合である。" #. type: Plain text -#: build/C/man3/pthread_create.3:139 +#: build/C/man3/pthread_create.3:141 msgid "Invalid settings in I." msgstr "I で指定された設定が不正である。" #. type: TP -#: build/C/man3/pthread_create.3:139 build/C/man3/pthread_setschedparam.3:127 -#: build/C/man3/pthread_setschedprio.3:64 +#: build/C/man3/pthread_create.3:141 build/C/man3/pthread_setschedparam.3:129 +#: build/C/man3/pthread_setschedprio.3:66 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/pthread_create.3:144 +#: build/C/man3/pthread_create.3:146 msgid "" "No permission to set the scheduling policy and parameters specified in " "I." @@ -4720,7 +4789,7 @@ msgstr "" "設定する許可がない。" #. type: Plain text -#: build/C/man3/pthread_create.3:158 +#: build/C/man3/pthread_create.3:160 msgid "" "See B(3) for further information on the thread ID returned in " "I<*thread> by B(). Unless real-time scheduling policies are " @@ -4735,7 +4804,7 @@ msgstr "" "次に実行されるかは決まっていない。" #. type: Plain text -#: build/C/man3/pthread_create.3:178 +#: build/C/man3/pthread_create.3:180 msgid "" "A thread may either be I or I. If a thread is joinable, " "then another thread can call B(3) to wait for the thread to " @@ -4767,7 +4836,7 @@ msgstr "" #. FIXME . Perhaps some of the following detail should be in #. a future pthread_attr_setstacksize(3) page. #. type: Plain text -#: build/C/man3/pthread_create.3:194 +#: build/C/man3/pthread_create.3:196 msgid "" "On Linux/x86-32, the default stack size for a new thread is 2 megabytes. " "Under the NPTL threading implementation, if the B soft " @@ -4786,7 +4855,7 @@ msgstr "" "デフォルト値以外のスタックサイズを得ることができる。" #. type: Plain text -#: build/C/man3/pthread_create.3:200 +#: build/C/man3/pthread_create.3:202 msgid "" "In the obsolete LinuxThreads implementation, each of the threads in a " "process has a different process ID. This is in violation of the POSIX " @@ -4799,7 +4868,7 @@ msgstr "" "B(7) を参照のこと。" #. type: Plain text -#: build/C/man3/pthread_create.3:204 +#: build/C/man3/pthread_create.3:206 msgid "" "The program below demonstrates the use of B(), as well as a " "number of other functions in the pthreads API." @@ -4808,7 +4877,7 @@ msgstr "" "pthreads API の他のいろいろな関数の使用例を示している。" #. type: Plain text -#: build/C/man3/pthread_create.3:209 +#: build/C/man3/pthread_create.3:211 msgid "" "In the following run, on a system providing the NPTL threading " "implementation, the stack size defaults to the value given by the \"stack " @@ -4819,7 +4888,7 @@ msgstr "" "になる。" #. type: Plain text -#: build/C/man3/pthread_create.3:221 +#: build/C/man3/pthread_create.3:223 #, no-wrap msgid "" "$B< ulimit -s>\n" @@ -4843,7 +4912,7 @@ msgstr "" "Joined with thread 3; returned value was SERVUS\n" #. type: Plain text -#: build/C/man3/pthread_create.3:227 +#: build/C/man3/pthread_create.3:229 msgid "" "In the next run, the program explicitly sets a stack size of 1MB (using " "B(3)) for the created threads:" @@ -4853,7 +4922,7 @@ msgstr "" "明示的に設定している。" #. type: Plain text -#: build/C/man3/pthread_create.3:237 +#: build/C/man3/pthread_create.3:239 #, no-wrap msgid "" "$B< ./a.out -s 0x100000 hola salut servus>\n" @@ -4873,7 +4942,7 @@ msgstr "" "Joined with thread 3; returned value was SERVUS\n" #. type: Plain text -#: build/C/man3/pthread_create.3:249 +#: build/C/man3/pthread_create.3:251 #, no-wrap msgid "" "#include Epthread.hE\n" @@ -4893,7 +4962,7 @@ msgstr "" "#include Ectype.hE\n" #. type: Plain text -#: build/C/man3/pthread_create.3:255 build/C/man3/pthread_getcpuclockid.3:108 +#: build/C/man3/pthread_create.3:257 build/C/man3/pthread_getcpuclockid.3:110 #, no-wrap msgid "" "#define handle_error(msg) \\e\n" @@ -4903,7 +4972,7 @@ msgstr "" " do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" #. type: Plain text -#: build/C/man3/pthread_create.3:261 +#: build/C/man3/pthread_create.3:263 #, no-wrap msgid "" "struct thread_info { /* Used as argument to thread_start() */\n" @@ -4919,7 +4988,7 @@ msgstr "" "};\n" #. type: Plain text -#: build/C/man3/pthread_create.3:264 +#: build/C/man3/pthread_create.3:266 #, no-wrap msgid "" "/* Thread start function: display address near top of our stack,\n" @@ -4929,13 +4998,19 @@ msgstr "" " and return upper-cased copy of argv_string */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:270 -#, no-wrap +#: 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" msgid "" "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" msgstr "" "static void *\n" @@ -4945,7 +5020,7 @@ msgstr "" " char *uargv, *p;\n" #. type: Plain text -#: build/C/man3/pthread_create.3:273 +#: build/C/man3/pthread_create.3:275 #, no-wrap msgid "" " printf(\"Thread %d: top of stack near %p; argv_string=%s\\en\",\n" @@ -4955,7 +5030,7 @@ msgstr "" " tinfo-Ethread_num, &p, tinfo-Eargv_string);\n" #. type: Plain text -#: build/C/man3/pthread_create.3:277 +#: build/C/man3/pthread_create.3:279 #, no-wrap msgid "" " uargv = strdup(tinfo-Eargv_string);\n" @@ -4967,7 +5042,7 @@ msgstr "" " handle_error(\"strdup\");\n" #. type: Plain text -#: build/C/man3/pthread_create.3:280 +#: build/C/man3/pthread_create.3:282 #, no-wrap msgid "" " for (p = uargv; *p != \\(aq\\e0\\(aq; p++)\n" @@ -4977,7 +5052,7 @@ msgstr "" " *p = toupper(*p);\n" #. type: Plain text -#: build/C/man3/pthread_create.3:283 +#: build/C/man3/pthread_create.3:285 #, no-wrap msgid "" " return uargv;\n" @@ -4987,7 +5062,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_create.3:292 +#: build/C/man3/pthread_create.3:294 #, no-wrap msgid "" "int\n" @@ -5009,13 +5084,13 @@ msgstr "" " void *res;\n" #. type: Plain text -#: build/C/man3/pthread_create.3:294 +#: build/C/man3/pthread_create.3:296 #, no-wrap msgid " /* The \"-s\" option specifies a stack size for our threads */\n" msgstr " /* The \"-s\" option specifies a stack size for our threads */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:301 +#: build/C/man3/pthread_create.3:303 #, no-wrap msgid "" " stack_size = -1;\n" @@ -5033,7 +5108,7 @@ msgstr "" " break;\n" #. type: Plain text -#: build/C/man3/pthread_create.3:308 +#: build/C/man3/pthread_create.3:310 #, no-wrap msgid "" " default:\n" @@ -5051,19 +5126,19 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_create.3:310 +#: build/C/man3/pthread_create.3:312 #, no-wrap msgid " num_threads = argc - optind;\n" msgstr " num_threads = argc - optind;\n" #. type: Plain text -#: build/C/man3/pthread_create.3:312 +#: build/C/man3/pthread_create.3:314 #, no-wrap msgid " /* Initialize thread creation attributes */\n" msgstr " /* Initialize thread creation attributes */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:316 +#: build/C/man3/pthread_create.3:318 #, no-wrap msgid "" " s = pthread_attr_init(&attr);\n" @@ -5075,7 +5150,7 @@ msgstr "" " handle_error_en(s, \"pthread_attr_init\");\n" #. type: Plain text -#: build/C/man3/pthread_create.3:322 +#: build/C/man3/pthread_create.3:324 #, no-wrap msgid "" " if (stack_size E 0) {\n" @@ -5091,13 +5166,13 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_create.3:324 +#: build/C/man3/pthread_create.3:326 #, no-wrap msgid " /* Allocate memory for pthread_create() arguments */\n" msgstr " /* Allocate memory for pthread_create() arguments */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:328 +#: build/C/man3/pthread_create.3:330 #, no-wrap msgid "" " tinfo = calloc(num_threads, sizeof(struct thread_info));\n" @@ -5109,13 +5184,13 @@ msgstr "" " handle_error(\"calloc\");\n" #. type: Plain text -#: build/C/man3/pthread_create.3:330 +#: build/C/man3/pthread_create.3:332 #, no-wrap msgid " /* Create one thread for each command-line argument */\n" msgstr " /* Create one thread for each command-line argument */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:334 +#: build/C/man3/pthread_create.3:336 #, no-wrap msgid "" " for (tnum = 0; tnum E num_threads; tnum++) {\n" @@ -5127,7 +5202,7 @@ msgstr "" " tinfo[tnum].argv_string = argv[optind + tnum];\n" #. type: Plain text -#: build/C/man3/pthread_create.3:337 +#: build/C/man3/pthread_create.3:339 #, no-wrap msgid "" " /* The pthread_create() call stores the thread ID into\n" @@ -5137,7 +5212,7 @@ msgstr "" " corresponding element of tinfo[] */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:343 +#: build/C/man3/pthread_create.3:345 #, no-wrap msgid "" " s = pthread_create(&tinfo[tnum].thread_id, &attr,\n" @@ -5153,7 +5228,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_create.3:346 +#: build/C/man3/pthread_create.3:348 #, no-wrap msgid "" " /* Destroy the thread attributes object, since it is no\n" @@ -5163,7 +5238,7 @@ msgstr "" " longer needed */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:350 build/C/man3/pthread_setschedparam.3:421 +#: build/C/man3/pthread_create.3:352 build/C/man3/pthread_setschedparam.3:423 #, no-wrap msgid "" " s = pthread_attr_destroy(&attr);\n" @@ -5175,13 +5250,13 @@ msgstr "" " handle_error_en(s, \"pthread_attr_destroy\");\n" #. type: Plain text -#: build/C/man3/pthread_create.3:352 +#: build/C/man3/pthread_create.3:354 #, no-wrap msgid " /* Now join with each thread, and display its returned value */\n" msgstr " /* Now join with each thread, and display its returned value */\n" #. type: Plain text -#: build/C/man3/pthread_create.3:357 +#: build/C/man3/pthread_create.3:359 #, no-wrap msgid "" " for (tnum = 0; tnum E num_threads; tnum++) {\n" @@ -5195,7 +5270,7 @@ msgstr "" " handle_error_en(s, \"pthread_join\");\n" #. type: Plain text -#: build/C/man3/pthread_create.3:362 +#: build/C/man3/pthread_create.3:364 #, no-wrap msgid "" " printf(\"Joined with thread %d; returned value was %s\\en\",\n" @@ -5209,7 +5284,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_create.3:366 +#: build/C/man3/pthread_create.3:368 #, no-wrap msgid "" " free(tinfo);\n" @@ -5221,7 +5296,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_create.3:378 +#: build/C/man3/pthread_create.3:382 msgid "" "B(2), B(3), B(3), " "B(3), B(3), B(3), " @@ -5234,30 +5309,30 @@ msgstr "" "(7)" #. type: TH -#: build/C/man3/pthread_detach.3:24 +#: build/C/man3/pthread_detach.3:26 #, no-wrap msgid "PTHREAD_DETACH" msgstr "PTHREAD_DETACH" #. type: TH -#: build/C/man3/pthread_detach.3:24 build/C/man3/pthread_join.3:24 +#: build/C/man3/pthread_detach.3:26 build/C/man3/pthread_join.3:26 #, no-wrap msgid "2008-11-27" msgstr "2008-11-27" #. type: Plain text -#: build/C/man3/pthread_detach.3:27 +#: build/C/man3/pthread_detach.3:29 msgid "pthread_detach - detach a thread" msgstr "pthread_detach - スレッドを切り離す (detach する)" #. type: Plain text -#: build/C/man3/pthread_detach.3:32 +#: build/C/man3/pthread_detach.3:34 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_detach.3:44 +#: build/C/man3/pthread_detach.3:46 msgid "" "The B() function marks the thread identified by I " "as detached. When a detached thread terminates, its resources are " @@ -5271,7 +5346,7 @@ msgstr "" "そのスレッドのリソースは自動的に解放されてシステムに戻される。" #. type: Plain text -#: build/C/man3/pthread_detach.3:47 +#: build/C/man3/pthread_detach.3:49 msgid "" "Attempting to detach an already detached thread results in unspecified " "behavior." @@ -5280,7 +5355,7 @@ msgstr "" "どのような結果となるかは規定されていない。" #. type: Plain text -#: build/C/man3/pthread_detach.3:52 +#: build/C/man3/pthread_detach.3:54 msgid "" "On success, B() returns 0; on error, it returns an error " "number." @@ -5289,12 +5364,12 @@ msgstr "" "エラーの場合、エラー番号を返す。" #. type: Plain text -#: build/C/man3/pthread_detach.3:57 build/C/man3/pthread_join.3:87 +#: build/C/man3/pthread_detach.3:59 build/C/man3/pthread_join.3:89 msgid "I is not a joinable thread." msgstr "I が join 可能なスレッドではない。" #. type: Plain text -#: build/C/man3/pthread_detach.3:68 +#: build/C/man3/pthread_detach.3:70 msgid "" "Once a thread has been detached, it can't be joined with B(3) " "or be made joinable again." @@ -5304,7 +5379,7 @@ msgstr "" "もう一度 join 可能にしたりすることはできない。" #. type: Plain text -#: build/C/man3/pthread_detach.3:75 +#: build/C/man3/pthread_detach.3:77 msgid "" "A new thread can be created in a detached state using " "B(3) to set the detached attribute of the " @@ -5315,7 +5390,7 @@ msgstr "" "新しいスレッドを detached 状態で作成することができる。" #. type: Plain text -#: build/C/man3/pthread_detach.3:82 +#: build/C/man3/pthread_detach.3:84 msgid "" "The detached attribute merely determines the behavior of the system when the " "thread terminates; it does not prevent the thread from being terminated if " @@ -5328,7 +5403,7 @@ msgstr "" "プロセスが B(3) を使って終了した場合と全く同じである)。 " #. type: Plain text -#: build/C/man3/pthread_detach.3:91 +#: build/C/man3/pthread_detach.3:93 msgid "" "Either B(3) or B() should be called for each " "thread that an application creates, so that system resources for the thread " @@ -5341,18 +5416,18 @@ msgstr "" "終了するときには、全てのスレッドのリソースが解放される)。" #. type: Plain text -#: build/C/man3/pthread_detach.3:93 +#: build/C/man3/pthread_detach.3:95 msgid "The following statement detaches the calling thread:" msgstr "以下の文は、呼び出したスレッド自身を detach する。" #. type: Plain text -#: build/C/man3/pthread_detach.3:95 +#: build/C/man3/pthread_detach.3:97 #, no-wrap msgid " pthread_detach(pthread_self());\n" msgstr " pthread_detach(pthread_self());\n" #. type: Plain text -#: build/C/man3/pthread_detach.3:102 +#: build/C/man3/pthread_detach.3:104 msgid "" "B(3), B(3), B" "(3), B(3), B(3), B(7)" @@ -5361,35 +5436,35 @@ msgstr "" "(3), B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_equal.3:24 +#: build/C/man3/pthread_equal.3:26 #, no-wrap msgid "PTHREAD_EQUAL" msgstr "PTHREAD_EQUAL" #. type: TH -#: build/C/man3/pthread_equal.3:24 build/C/man3/pthread_exit.3:24 +#: build/C/man3/pthread_equal.3:26 build/C/man3/pthread_exit.3:26 #, no-wrap msgid "2009-03-30" msgstr "2009-03-30" #. type: Plain text -#: build/C/man3/pthread_equal.3:27 +#: build/C/man3/pthread_equal.3:29 msgid "pthread_equal - compare thread IDs" msgstr "pthread_equal - スレッド ID を比較する" #. type: Plain text -#: build/C/man3/pthread_equal.3:32 +#: build/C/man3/pthread_equal.3:34 #, no-wrap msgid "BIB<, pthread_t >IB<);>\n" msgstr "BIB<, pthread_t >IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_equal.3:39 +#: build/C/man3/pthread_equal.3:41 msgid "The B() function compares two thread identifiers." msgstr "B() 関数は 2 つのスレッド識別子の比較を行う。" #. type: Plain text -#: build/C/man3/pthread_equal.3:43 +#: build/C/man3/pthread_equal.3:45 msgid "" "If the two thread IDs are equal, B() returns a nonzero " "value; otherwise, it returns 0." @@ -5400,13 +5475,13 @@ msgstr "" #. SH VERSIONS #. Available since glibc 2.0 #. type: Plain text -#: build/C/man3/pthread_equal.3:45 build/C/man3/pthread_exit.3:73 -#: build/C/man3/pthread_self.3:48 build/C/man3/pthread_testcancel.3:56 +#: build/C/man3/pthread_equal.3:47 build/C/man3/pthread_exit.3:75 +#: build/C/man3/pthread_self.3:50 build/C/man3/pthread_testcancel.3:58 msgid "This function always succeeds." msgstr "この関数は常に成功する。" #. type: Plain text -#: build/C/man3/pthread_equal.3:54 +#: build/C/man3/pthread_equal.3:56 msgid "" "The B() function is necessary because thread IDs should be " "considered opaque: there is no portable way for applications to directly " @@ -5418,29 +5493,29 @@ msgstr "" "移植性を確保できる形で比較する方法はない。" #. type: Plain text -#: build/C/man3/pthread_equal.3:58 +#: build/C/man3/pthread_equal.3:60 msgid "B(3), B(3), B(7)" msgstr "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_exit.3:24 +#: build/C/man3/pthread_exit.3:26 #, no-wrap msgid "PTHREAD_EXIT" msgstr "PTHREAD_EXIT" #. type: Plain text -#: build/C/man3/pthread_exit.3:27 +#: build/C/man3/pthread_exit.3:29 msgid "pthread_exit - terminate calling thread" msgstr "pthread_exit - 呼び出したスレッドを終了する" #. type: Plain text -#: build/C/man3/pthread_exit.3:32 +#: build/C/man3/pthread_exit.3:34 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/pthread_exit.3:43 +#: build/C/man3/pthread_exit.3:45 msgid "" "The B() function terminates the calling thread and returns a " "value via I that (if the thread is joinable) is available to " @@ -5452,7 +5527,7 @@ msgstr "" "呼び出した同じプロセス内の別のスレッドが参照できる値と同じである。" #. type: Plain text -#: build/C/man3/pthread_exit.3:53 +#: build/C/man3/pthread_exit.3:55 msgid "" "Any clean-up handlers established by B(3) that have " "not yet been popped, are popped (in the reverse of the order in which they " @@ -5468,7 +5543,7 @@ msgstr "" "は規定されていない)。" #. type: Plain text -#: build/C/man3/pthread_exit.3:60 +#: build/C/man3/pthread_exit.3:62 msgid "" "When a thread terminates, process-shared resources (e.g., mutexes, condition " "variables, semaphores, and file descriptors) are not released, and functions " @@ -5479,7 +5554,7 @@ msgstr "" "B(3) を使って登録された関数は呼び出されない。" #. type: Plain text -#: build/C/man3/pthread_exit.3:69 +#: build/C/man3/pthread_exit.3:71 msgid "" "After the last thread in a process terminates, the process terminates as by " "calling B(3) with an exit status of zero; thus, process-shared " @@ -5492,12 +5567,12 @@ msgstr "" "が呼び出される。" #. type: Plain text -#: build/C/man3/pthread_exit.3:71 +#: build/C/man3/pthread_exit.3:73 msgid "This function does not return to the caller." msgstr "この関数は呼び出し側には返らない。" #. type: Plain text -#: build/C/man3/pthread_exit.3:80 +#: build/C/man3/pthread_exit.3:82 msgid "" "Performing a return from the start function of any thread other than the " "main thread results in an implicit call to B(), using the " @@ -5508,7 +5583,7 @@ msgstr "" "関数の返り値がスレッドの終了ステータスとして使用される。" #. type: Plain text -#: build/C/man3/pthread_exit.3:86 +#: build/C/man3/pthread_exit.3:88 msgid "" "To allow other threads to continue execution, the main thread should " "terminate by calling B() rather than B(3)." @@ -5517,7 +5592,7 @@ msgstr "" "なく B() を呼び出して終了すべきである。" #. type: Plain text -#: build/C/man3/pthread_exit.3:91 +#: build/C/man3/pthread_exit.3:93 msgid "" "The value pointed to by I should not be located on the calling " "thread's stack, since the contents of that stack are undefined after the " @@ -5532,7 +5607,7 @@ msgstr "" #. http://thread.gmane.org/gmane.linux.kernel/611611 #. http://marc.info/?l=linux-kernel&m=122525468300823&w=2 #. type: Plain text -#: build/C/man3/pthread_exit.3:103 +#: build/C/man3/pthread_exit.3:105 msgid "" "Currently, there are limitations in the kernel implementation logic for " "B(2)ing on a stopped thread group with a dead thread group leader. " @@ -5549,29 +5624,29 @@ msgstr "" "場合がある。" #. type: Plain text -#: build/C/man3/pthread_exit.3:107 +#: build/C/man3/pthread_exit.3:109 msgid "B(3), B(3), B(7)" msgstr "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_getattr_np.3:24 +#: build/C/man3/pthread_getattr_np.3:26 #, no-wrap msgid "PTHREAD_GETATTR_NP" msgstr "PTHREAD_GETATTR_NP" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:27 +#: build/C/man3/pthread_getattr_np.3:29 msgid "pthread_getattr_np - get attributes of created thread" msgstr "pthread_getattr_np - 作成されたスレッドの属性を取得する" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:33 +#: build/C/man3/pthread_getattr_np.3:35 #, no-wrap msgid "BIB<, pthread_attr_t *>IB<);>\n" msgstr "BIB<, pthread_attr_t *>IB<);>\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:43 +#: build/C/man3/pthread_getattr_np.3:45 msgid "" "The B() function initializes the thread attributes " "object referred to by I so that it contains actual attribute values " @@ -5583,7 +5658,7 @@ msgstr "" "格納して返す。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:50 +#: build/C/man3/pthread_getattr_np.3:52 msgid "" "The returned attribute values may differ from the corresponding attribute " "values passed in the I object that was used to create the thread using " @@ -5594,7 +5669,7 @@ msgstr "" "特に、以下の属性は異なる場合がある。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:53 +#: build/C/man3/pthread_getattr_np.3:55 msgid "" "the detach state, since a joinable thread may have detached itself after " "creation;" @@ -5603,7 +5678,7 @@ msgstr "" "切り離す (detach する) ことができるからである。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:56 +#: build/C/man3/pthread_getattr_np.3:58 msgid "" "the stack size, which the implementation may align to a suitable boundary." msgstr "" @@ -5611,7 +5686,7 @@ msgstr "" "スレッドの実装によって適切な境界に揃えられる可能があるためである。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:61 +#: build/C/man3/pthread_getattr_np.3:63 msgid "" "and the guard size, which the implementation may round upward to a multiple " "of the page size, or ignore (i.e., treat as 0), if the application is " @@ -5623,7 +5698,7 @@ msgstr "" "(0 として扱われる) ことがあるからである。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:66 +#: build/C/man3/pthread_getattr_np.3:68 msgid "" "Furthermore, if the stack address attribute was not set in the thread " "attributes object used to create the thread, then the returned thread " @@ -5636,7 +5711,7 @@ msgstr "" "割り当てた実際のスタックアドレスが報告される。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:71 +#: build/C/man3/pthread_getattr_np.3:73 msgid "" "When the thread attributes object returned by B() is no " "longer required, it should be destroyed using B(3)." @@ -5646,8 +5721,8 @@ msgstr "" "そのオブジェクトを破棄すべきである。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:74 -#: build/C/man3/pthread_getcpuclockid.3:47 +#: build/C/man3/pthread_getattr_np.3:76 +#: build/C/man3/pthread_getcpuclockid.3:49 msgid "" "On success, this function returns 0; on error, it returns a nonzero error " "number." @@ -5657,12 +5732,12 @@ msgstr "" #. Can happen (but unlikely) while trying to allocate memory for cpuset #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:79 +#: build/C/man3/pthread_getattr_np.3:81 msgid "Insufficient memory." msgstr "メモリが十分になかった。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:94 +#: build/C/man3/pthread_getattr_np.3:96 msgid "" "In addition, if I refers to the main thread, then " "B() can fail because of errors from various underlying " @@ -5677,13 +5752,13 @@ msgstr "" "サポートされていない場合には B(2) でエラーが発生する。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:96 +#: build/C/man3/pthread_getattr_np.3:98 msgid "This function is available in glibc since version 2.2.3." msgstr "この関数は glibc バージョン 2.2.3 以降で利用できる。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:99 -#: build/C/man3/pthread_kill_other_threads_np.3:48 +#: build/C/man3/pthread_getattr_np.3:101 +#: build/C/man3/pthread_kill_other_threads_np.3:50 msgid "" "This function is a nonstandard GNU extension; hence the suffix \"_np" "\" (nonportable) in the name." @@ -5693,7 +5768,7 @@ msgstr "" "付いている。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:109 +#: build/C/man3/pthread_getattr_np.3:111 msgid "" "The program below demonstrates the use of B(). The " "program creates a thread that then uses B() to retrieve " @@ -5711,7 +5786,7 @@ msgstr "" "下記のシェルのセッションはこのプログラムの使用例である。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:112 +#: build/C/man3/pthread_getattr_np.3:114 msgid "" "In the first run, on an x86-32 system, a thread is created using default " "attributes:" @@ -5720,7 +5795,7 @@ msgstr "" "(x86-32 システム上で実行)。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:122 +#: build/C/man3/pthread_getattr_np.3:124 #, no-wrap msgid "" "$B< ulimit -s> # No stack limit ==E default stack size is 2MB\n" @@ -5740,7 +5815,7 @@ msgstr "" " Stack size = 0x201000 (2101248) bytes\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:128 +#: build/C/man3/pthread_getattr_np.3:130 msgid "" "In the following run, we see that if a guard size is specified, it is " "rounded up to the next multiple of the system page size (4096 bytes on " @@ -5751,7 +5826,7 @@ msgstr "" "(x86-32 ではシステムのページサイズは 4096 バイトである)。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:136 +#: build/C/man3/pthread_getattr_np.3:138 #, no-wrap msgid "" "$B< ./a.out -g 4097>\n" @@ -5767,7 +5842,7 @@ msgstr "" " Stack size = 0x0 (0) bytes\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:141 +#: build/C/man3/pthread_getattr_np.3:143 #, no-wrap msgid "" "Attributes of created thread:\n" @@ -5794,7 +5869,7 @@ msgstr "" #. .fi #. .in #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:160 +#: build/C/man3/pthread_getattr_np.3:162 msgid "" "In the last run, the program manually allocates a stack for the thread. In " "this case, the guard size attribute is ignored." @@ -5803,7 +5878,7 @@ msgstr "" "この場合には、guard size 属性は無視される。" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:165 +#: build/C/man3/pthread_getattr_np.3:167 #, no-wrap msgid "" "$B< ./a.out -g 4096 -s 0x8000 -a>\n" @@ -5813,7 +5888,7 @@ msgstr "" "Allocated thread stack at 0x804d000\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:170 +#: build/C/man3/pthread_getattr_np.3:172 #, no-wrap msgid "" "Thread attributes object after initializations:\n" @@ -5827,7 +5902,7 @@ msgstr "" " Stack size = 0x8000 (32768) bytes\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:175 +#: build/C/man3/pthread_getattr_np.3:177 #, no-wrap msgid "" "Attributes of created thread:\n" @@ -5841,7 +5916,7 @@ msgstr "" " Stack size = 0x8000 (32768) bytes\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:196 +#: build/C/man3/pthread_getattr_np.3:198 #, no-wrap msgid "" "static void\n" @@ -5859,7 +5934,7 @@ msgstr "" " void *stack_addr;\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:201 +#: build/C/man3/pthread_getattr_np.3:203 #, no-wrap msgid "" " s = pthread_attr_getguardsize(attr, &guard_size);\n" @@ -5873,7 +5948,7 @@ msgstr "" " printf(\"%sGuard size = %d bytes\\en\", prefix, guard_size);\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:212 +#: build/C/man3/pthread_getattr_np.3:214 #, no-wrap msgid "" " s = pthread_attr_getstack(attr, &stack_addr, &stack_size);\n" @@ -5899,7 +5974,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:218 +#: build/C/man3/pthread_getattr_np.3:220 #, no-wrap msgid "" "static void\n" @@ -5915,7 +5990,7 @@ msgstr "" " pthread_attr_t attr;\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:222 +#: build/C/man3/pthread_getattr_np.3:224 #, no-wrap msgid "" " s = pthread_getattr_np(thread, &attr);\n" @@ -5927,13 +6002,13 @@ msgstr "" " handle_error_en(s, \"pthread_getattr_np\");\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:224 +#: build/C/man3/pthread_getattr_np.3:226 #, no-wrap msgid " display_stack_related_attributes(&attr, prefix);\n" msgstr " display_stack_related_attributes(&attr, prefix);\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:229 +#: build/C/man3/pthread_getattr_np.3:231 #, no-wrap msgid "" " s = pthread_attr_destroy(&attr);\n" @@ -5947,7 +6022,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:235 +#: build/C/man3/pthread_getattr_np.3:237 #, no-wrap msgid "" "static void * /* Start function for thread we create */\n" @@ -5963,7 +6038,7 @@ msgstr "" " display_thread_attributes(pthread_self(), \"\\et\");\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:249 +#: build/C/man3/pthread_getattr_np.3:251 #, no-wrap msgid "" "static void\n" @@ -5989,7 +6064,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:262 +#: build/C/man3/pthread_getattr_np.3:264 #, no-wrap msgid "" "static pthread_attr_t * /* Get thread attributes from command line */\n" @@ -6019,7 +6094,7 @@ msgstr "" " guard_size = -1;\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:271 +#: build/C/man3/pthread_getattr_np.3:273 #, no-wrap msgid "" " while ((opt = getopt(argc, argv, \"ag:s:\")) != -1) {\n" @@ -6041,7 +6116,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:274 +#: build/C/man3/pthread_getattr_np.3:276 #, no-wrap msgid "" " if (allocate_stack && stack_size == -1)\n" @@ -6051,7 +6126,7 @@ msgstr "" " usage(argv[0], \"Specifying -a without -s makes no sense\\en\");\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:277 +#: build/C/man3/pthread_getattr_np.3:279 #, no-wrap msgid "" " if (argc E optind)\n" @@ -6061,7 +6136,7 @@ msgstr "" " usage(argv[0], \"Extraneous command-line arguments\\en\");\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:280 +#: build/C/man3/pthread_getattr_np.3:282 #, no-wrap msgid "" " if (stack_size E= 0 || guard_size E 0) {\n" @@ -6071,7 +6146,7 @@ msgstr "" " ret_attrp = attrp;\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:285 +#: build/C/man3/pthread_getattr_np.3:287 #, no-wrap msgid "" " s = pthread_attr_init(attrp);\n" @@ -6085,7 +6160,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:297 +#: build/C/man3/pthread_getattr_np.3:299 #, no-wrap msgid "" " if (stack_size E= 0) {\n" @@ -6113,7 +6188,7 @@ msgstr "" " printf(\"Allocated thread stack at %p\\en\\en\", stack_addr);\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:303 +#: build/C/man3/pthread_getattr_np.3:305 #, no-wrap msgid "" " s = pthread_attr_setstack(attrp, stack_addr, stack_size);\n" @@ -6129,7 +6204,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:309 +#: build/C/man3/pthread_getattr_np.3:311 #, no-wrap msgid "" " if (guard_size E= 0) {\n" @@ -6145,7 +6220,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:312 +#: build/C/man3/pthread_getattr_np.3:314 #, no-wrap msgid "" " return ret_attrp;\n" @@ -6155,7 +6230,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:321 +#: build/C/man3/pthread_getattr_np.3:323 #, no-wrap msgid "" "int\n" @@ -6177,13 +6252,13 @@ msgstr "" " a thread attributes object */\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:323 +#: build/C/man3/pthread_getattr_np.3:325 #, no-wrap msgid " attrp = get_thread_attributes_from_cl(argc, argv, &attr);\n" msgstr " attrp = get_thread_attributes_from_cl(argc, argv, &attr);\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:329 +#: build/C/man3/pthread_getattr_np.3:331 #, no-wrap msgid "" " if (attrp != NULL) {\n" @@ -6199,7 +6274,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/pthread_getattr_np.3:357 +#: build/C/man3/pthread_getattr_np.3:361 msgid "" "B(3), B(3), " "B(3), B(3), " @@ -6216,24 +6291,24 @@ msgstr "" "B(3), B(3), B(7)" #. type: TH -#: build/C/man3/pthread_getcpuclockid.3:24 +#: build/C/man3/pthread_getcpuclockid.3:26 #, no-wrap msgid "PTHREAD_GETCPUCLOCKID" msgstr "PTHREAD_GETCPUCLOCKID" #. type: TH -#: build/C/man3/pthread_getcpuclockid.3:24 +#: build/C/man3/pthread_getcpuclockid.3:26 #, no-wrap msgid "2009-02-08" msgstr "2009-02-08" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:27 +#: build/C/man3/pthread_getcpuclockid.3:29 msgid "pthread_getcpuclockid - retrieve ID of a thread's CPU time clock" msgstr "pthread_getcpuclockid - スレッドの CPU 時間時計の ID を取得する" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:31 +#: build/C/man3/pthread_getcpuclockid.3:33 #, no-wrap msgid "" "B<#include Epthread.hE>\n" @@ -6243,7 +6318,7 @@ msgstr "" "B<#include Etime.hE>\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:33 +#: build/C/man3/pthread_getcpuclockid.3:35 #, no-wrap msgid "BIB<, clockid_t *>I\n" msgstr "BIB<, clockid_t *>I\n" @@ -6252,7 +6327,7 @@ msgstr "BIB<, clockid_t *>Itid << CLOCK_IDFIELD_SIZE) #. where CLOCK_IDFIELD_SIZE is 3. #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:44 +#: build/C/man3/pthread_getcpuclockid.3:46 msgid "" "The B() function returns the clock ID for the CPU " "time clock of the thread I." @@ -6261,7 +6336,7 @@ msgstr "" "スレッド I の CPU 時間時計のクロック ID を返す。" #. type: TP -#: build/C/man3/pthread_getcpuclockid.3:48 +#: build/C/man3/pthread_getcpuclockid.3:50 #, no-wrap msgid "B" msgstr "B" @@ -6271,17 +6346,17 @@ msgstr "B" #. be possible if kernel thread IDs took more than 29 bits (which #. they currently cannot). #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:56 +#: build/C/man3/pthread_getcpuclockid.3:58 msgid "Per-thread CPU time clocks are not supported by the system." msgstr "スレッド単位の CPU 時間時計はこのシステムではサポートされていない。" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:63 +#: build/C/man3/pthread_getcpuclockid.3:65 msgid "This function is available in glibc since version 2.2." msgstr "この関数は glibc バージョン 2.2 以降で利用できる。" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:76 +#: build/C/man3/pthread_getcpuclockid.3:78 msgid "" "When I refers to the calling thread, this function returns an " "identifier that refers to the same clock manipulated by B(2) " @@ -6293,7 +6368,7 @@ msgstr "" "を参照する ID が返される。" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:82 +#: build/C/man3/pthread_getcpuclockid.3:84 msgid "" "The program below creates a thread and then uses B(2) to " "retrieve the total process CPU time, and the per-thread CPU time consumed by " @@ -6306,7 +6381,7 @@ msgstr "" "下記のシェルのセッションは実行例である。" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:91 +#: build/C/man3/pthread_getcpuclockid.3:93 #, no-wrap msgid "" "$ B<./a.out>\n" @@ -6326,13 +6401,13 @@ msgstr "" "Subthread CPU time: 0.992\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:97 +#: build/C/man3/pthread_getcpuclockid.3:99 #, no-wrap msgid "/* Link with \"-lrt\" */\n" msgstr "/* \"-lrt\" でリンクする */\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:105 +#: build/C/man3/pthread_getcpuclockid.3:107 #, no-wrap msgid "" "#include Etime.hE\n" @@ -6352,7 +6427,7 @@ msgstr "" "#include Eerrno.hE\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:119 +#: build/C/man3/pthread_getcpuclockid.3:121 #, no-wrap msgid "" "static void *\n" @@ -6372,7 +6447,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:124 +#: build/C/man3/pthread_getcpuclockid.3:126 #, no-wrap msgid "" "static void\n" @@ -6386,7 +6461,7 @@ msgstr "" " struct timespec ts;\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:130 +#: build/C/man3/pthread_getcpuclockid.3:132 #, no-wrap msgid "" " printf(\"%s\", msg);\n" @@ -6402,7 +6477,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:137 +#: build/C/man3/pthread_getcpuclockid.3:139 #, no-wrap msgid "" "int\n" @@ -6420,7 +6495,7 @@ msgstr "" " int j, s;\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:141 +#: build/C/man3/pthread_getcpuclockid.3:143 #, no-wrap msgid "" " s = pthread_create(&thread, NULL, thread_start, NULL);\n" @@ -6432,7 +6507,7 @@ msgstr "" " handle_error_en(s, \"pthread_create\");\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:144 +#: build/C/man3/pthread_getcpuclockid.3:146 #, no-wrap msgid "" " printf(\"Main thread sleeping\\en\");\n" @@ -6442,7 +6517,7 @@ msgstr "" " sleep(1);\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:148 +#: build/C/man3/pthread_getcpuclockid.3:150 #, no-wrap msgid "" " printf(\"Main thread consuming some CPU time...\\en\");\n" @@ -6454,13 +6529,13 @@ msgstr "" " getppid();\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:150 +#: build/C/man3/pthread_getcpuclockid.3:152 #, 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:155 +#: build/C/man3/pthread_getcpuclockid.3:157 #, no-wrap msgid "" " s = pthread_getcpuclockid(pthread_self(), &cid);\n" @@ -6474,7 +6549,7 @@ msgstr "" " pclock(\"Main thread CPU time: \", cid);\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:158 +#: build/C/man3/pthread_getcpuclockid.3:160 #, no-wrap msgid "" " /* The preceding 4 lines of code could have been replaced by:\n" @@ -6484,7 +6559,7 @@ msgstr "" " pclock(\"Main thread CPU time: \", CLOCK_THREAD_CPUTIME_ID); */\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:163 +#: build/C/man3/pthread_getcpuclockid.3:165 #, no-wrap msgid "" " s = pthread_getcpuclockid(thread, &cid);\n" @@ -6498,7 +6573,7 @@ msgstr "" " pclock(\"Subthread CPU time: 1 \", cid);\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:166 +#: build/C/man3/pthread_getcpuclockid.3:168 #, no-wrap msgid "" " exit(EXIT_SUCCESS); /* Terminates both threads */\n" @@ -6508,7 +6583,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/pthread_getcpuclockid.3:175 +#: build/C/man3/pthread_getcpuclockid.3:177 msgid "" "B(2), B(2), B(2), " "B(3), B(3), B(7), B