msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-03-26 16:48+0900\n"
+"POT-Creation-Date: 2013-08-15 19:32+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:46
+#: build/C/man3/getcontext.3:49
msgid ""
"In a System V-like environment, one has the two types I<mcontext_t> and "
"I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:50
+#: build/C/man3/getcontext.3:57
msgid ""
"The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
"type is a structure that has at least the following fields:"
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:60
+#: build/C/man3/getcontext.3:67
#, no-wrap
msgid ""
"typedef struct ucontext {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:77
+#: build/C/man3/getcontext.3:94
msgid ""
"with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
"I<uc_link> points to the context that will be resumed when the current "
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:82
+#: build/C/man3/getcontext.3:101
msgid ""
"The function B<getcontext>() initializes the structure pointed at by I<ucp> "
"to the currently active context."
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:94
+#: build/C/man3/getcontext.3:114
msgid ""
"The function B<setcontext>() restores the user context pointed at by "
"I<ucp>. A successful call does not return. The context should have been "
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:98
+#: build/C/man3/getcontext.3:118
msgid ""
"If the context was obtained by a call of B<getcontext>(), program execution "
"continues as if this call just returned."
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:109
+#: build/C/man3/getcontext.3:135
msgid ""
"If the context was obtained by a call of B<makecontext>(3), program "
"execution continues by a call to the function I<func> specified as the "
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:116
+#: build/C/man3/getcontext.3:142
msgid ""
"If the context was obtained by a call to a signal handler, then old standard "
"text says that \"program execution continues with the program instruction "
msgstr ""
#. type: SH
-#: 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
+#: build/C/man3/getcontext.3:142 build/C/man3/makecontext.3:84 build/C/man3/pthread_attr_init.3:68 build/C/man3/pthread_attr_setaffinity_np.3:76 build/C/man3/pthread_attr_setdetachstate.3:77 build/C/man3/pthread_attr_setguardsize.3:90 build/C/man3/pthread_attr_setinheritsched.3:93 build/C/man3/pthread_attr_setschedparam.3:85 build/C/man3/pthread_attr_setschedpolicy.3:83 build/C/man3/pthread_attr_setscope.3:103 build/C/man3/pthread_attr_setstack.3:85 build/C/man3/pthread_attr_setstackaddr.3:74 build/C/man3/pthread_attr_setstacksize.3:61 build/C/man3/pthread_cancel.3:112 build/C/man3/pthread_cleanup_push.3:121 build/C/man3/pthread_create.3:115 build/C/man3/pthread_detach.3:49 build/C/man3/pthread_equal.3:41 build/C/man3/pthread_exit.3:71 build/C/man3/pthread_getattr_np.3:73 build/C/man3/pthread_getcpuclockid.3:46 build/C/man3/pthread_join.3:70 build/C/man3/pthread_kill.3:52 build/C/man3/pthread_self.3:46 build/C/man3/pthread_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/man3/getcontext.3:124
+#: build/C/man3/getcontext.3:151
msgid ""
"When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
"return. On error, both return -1 and set I<errno> appropriately."
msgstr ""
#. type: SH
-#: 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
+#: build/C/man3/getcontext.3:151 build/C/man3/makecontext.3:96 build/C/man3/pthread_attr_init.3:71 build/C/man3/pthread_attr_setaffinity_np.3:79 build/C/man3/pthread_attr_setdetachstate.3:80 build/C/man3/pthread_attr_setguardsize.3:93 build/C/man3/pthread_attr_setinheritsched.3:96 build/C/man3/pthread_attr_setschedparam.3:88 build/C/man3/pthread_attr_setschedpolicy.3:86 build/C/man3/pthread_attr_setscope.3:106 build/C/man3/pthread_attr_setstack.3:88 build/C/man3/pthread_attr_setstackaddr.3:77 build/C/man3/pthread_attr_setstacksize.3:64 build/C/man3/pthread_cancel.3:117 build/C/man3/pthread_cleanup_push.3:123 build/C/man3/pthread_create.3:122 build/C/man3/pthread_detach.3:54 build/C/man3/pthread_equal.3:45 build/C/man3/pthread_exit.3:73 build/C/man3/pthread_getattr_np.3:76 build/C/man3/pthread_getcpuclockid.3:49 build/C/man3/pthread_join.3:75 build/C/man3/pthread_kill.3:57 build/C/man3/pthread_self.3:48 build/C/man3/pthread_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/man3/getcontext.3:126
+#: build/C/man3/getcontext.3:153
msgid "None defined."
msgstr ""
#. type: SH
-#: build/C/man3/getcontext.3:126 build/C/man3/makecontext.3:105 build/C/man3/pthread_attr_init.3:79 build/C/man3/pthread_attr_setaffinity_np.3:108 build/C/man3/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: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: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_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
+#: build/C/man3/getcontext.3:153 build/C/man3/makecontext.3:105 build/C/man3/pthread_attr_init.3:79 build/C/man3/pthread_attr_setaffinity_np.3:108 build/C/man3/pthread_attr_setdetachstate.3:87 build/C/man3/pthread_attr_setguardsize.3:106 build/C/man3/pthread_attr_setinheritsched.3:110 build/C/man3/pthread_attr_setschedparam.3:100 build/C/man3/pthread_attr_setschedpolicy.3:100 build/C/man3/pthread_attr_setscope.3:119 build/C/man3/pthread_attr_setstack.3:112 build/C/man3/pthread_attr_setstackaddr.3:83 build/C/man3/pthread_attr_setstacksize.3:83 build/C/man3/pthread_cancel.3:125 build/C/man3/pthread_cleanup_push.3:127 build/C/man3/pthread_cleanup_push_defer_np.3:101 build/C/man3/pthread_create.3:146 build/C/man3/pthread_detach.3:64 build/C/man3/pthread_equal.3:47 build/C/man3/pthread_exit.3:75 build/C/man3/pthread_getattr_np.3:98 build/C/man3/pthread_getcpuclockid.3:65 build/C/man3/pthread_join.3:98 build/C/man3/pthread_kill.3:66 build/C/man3/pthread_kill_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_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
+#: build/C/man3/getcontext.3:159
msgid ""
"SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specification of "
"B<getcontext>(), citing portability issues, and recommending that "
msgstr ""
#. 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
+#: build/C/man3/getcontext.3:159 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:102 build/C/man3/pthread_attr_setscope.3:121 build/C/man3/pthread_attr_setstack.3:114 build/C/man3/pthread_attr_setstackaddr.3:86 build/C/man3/pthread_attr_setstacksize.3:85 build/C/man3/pthread_cancel.3:127 build/C/man3/pthread_cleanup_push.3:129 build/C/man3/pthread_create.3:148 build/C/man3/pthread_detach.3:66 build/C/man3/pthread_equal.3:49 build/C/man3/pthread_exit.3:77 build/C/man3/pthread_getcpuclockid.3:67 build/C/man3/pthread_join.3:100 build/C/man3/pthread_kill.3:68 build/C/man3/pthread_kill_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/man3/getcontext.3:149
+#: build/C/man3/getcontext.3:176
msgid ""
"The earliest incarnation of this mechanism was the "
"B<setjmp>(3)/B<longjmp>(3) mechanism. Since that does not define the "
msgstr ""
#. type: Plain text
-#: build/C/man3/getcontext.3:160
+#: build/C/man3/getcontext.3:187
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 "
msgstr ""
#. type: SH
-#: 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
+#: build/C/man3/getcontext.3:187 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:131 build/C/man3/pthread_attr_setschedparam.3:109 build/C/man3/pthread_attr_setschedpolicy.3:105 build/C/man3/pthread_attr_setscope.3:132 build/C/man3/pthread_attr_setstack.3:156 build/C/man3/pthread_attr_setstackaddr.3:110 build/C/man3/pthread_attr_setstacksize.3:111 build/C/man3/pthread_cancel.3:226 build/C/man3/pthread_cleanup_push.3:315 build/C/man3/pthread_cleanup_push_defer_np.3:104 build/C/man3/pthread_create.3:369 build/C/man3/pthread_detach.3:97 build/C/man3/pthread_equal.3:56 build/C/man3/pthread_exit.3:105 build/C/man3/pthread_getattr_np.3:345 build/C/man3/pthread_getcpuclockid.3:169 build/C/man3/pthread_join.3:127 build/C/man3/pthread_kill.3:75 build/C/man3/pthread_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/man3/getcontext.3:167
+#: build/C/man3/getcontext.3:194
msgid ""
"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
"B<makecontext>(3), B<sigsetjmp>(3)"
msgstr ""
#. type: SH
-#: 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
+#: build/C/man3/getcontext.3:194 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:143 build/C/man3/pthread_attr_setschedparam.3:121 build/C/man3/pthread_attr_setschedpolicy.3:116 build/C/man3/pthread_attr_setscope.3:142 build/C/man3/pthread_attr_setstack.3:168 build/C/man3/pthread_attr_setstackaddr.3:116 build/C/man3/pthread_attr_setstacksize.3:118 build/C/man3/pthread_cancel.3:238 build/C/man3/pthread_cleanup_push.3:321 build/C/man3/pthread_cleanup_push_defer_np.3:110 build/C/man3/pthread_create.3:382 build/C/man3/pthread_detach.3:104 build/C/man3/pthread_equal.3:60 build/C/man3/pthread_exit.3:109 build/C/man3/pthread_getattr_np.3:361 build/C/man3/pthread_getcpuclockid.3:177 build/C/man3/pthread_join.3:134 build/C/man3/pthread_kill.3:84 build/C/man3/pthread_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/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
+#: build/C/man3/getcontext.3:201 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:150 build/C/man3/pthread_attr_setschedparam.3:128 build/C/man3/pthread_attr_setschedpolicy.3:123 build/C/man3/pthread_attr_setscope.3:149 build/C/man3/pthread_attr_setstack.3:175 build/C/man3/pthread_attr_setstackaddr.3:123 build/C/man3/pthread_attr_setstacksize.3:125 build/C/man3/pthread_cancel.3:245 build/C/man3/pthread_cleanup_push.3:328 build/C/man3/pthread_cleanup_push_defer_np.3:117 build/C/man3/pthread_create.3:389 build/C/man3/pthread_detach.3:111 build/C/man3/pthread_equal.3:67 build/C/man3/pthread_exit.3:116 build/C/man3/pthread_getattr_np.3:368 build/C/man3/pthread_getcpuclockid.3:184 build/C/man3/pthread_join.3:141 build/C/man3/pthread_kill.3:91 build/C/man3/pthread_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
msgid ""
-"This page is part of release 3.50 of the Linux I<man-pages> project. A "
+"This page is part of release 3.53 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://www.kernel.org/doc/man-pages/."
+"found at \\%http://www.kernel.org/doc/man-pages/."
msgstr ""
#. type: TH
msgstr ""
#. type: SH
-#: build/C/man3/makecontext.3:137 build/C/man3/pthread_attr_init.3:87 build/C/man3/pthread_attr_setdetachstate.3:108 build/C/man3/pthread_attr_setguardsize.3:155 build/C/man3/pthread_attr_setinheritsched.3:119 build/C/man3/pthread_attr_setschedparam.3:95 build/C/man3/pthread_attr_setschedpolicy.3:91 build/C/man3/pthread_attr_setstack.3:153 build/C/man3/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
+#: 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:128 build/C/man3/pthread_attr_setschedparam.3:106 build/C/man3/pthread_attr_setschedpolicy.3:102 build/C/man3/pthread_attr_setstack.3:153 build/C/man3/pthread_attr_setstacksize.3:108 build/C/man3/pthread_cancel.3:135 build/C/man3/pthread_cleanup_push.3:155 build/C/man3/pthread_create.3:202 build/C/man3/pthread_detach.3:93 build/C/man3/pthread_getattr_np.3:101 build/C/man3/pthread_getcpuclockid.3:78 build/C/man3/pthread_join.3:124 build/C/man3/pthread_setaffinity_np.3:154 build/C/man3/pthread_setcancelstate.3:174 build/C/man3/pthread_setname_np.3:112 build/C/man3/pthread_setschedparam.3:149 build/C/man3/pthread_sigmask.3:61 build/C/man3/pthread_testcancel.3:60 build/C/man3/pthread_tryjoin_np.3:115
#, no-wrap
msgid "EXAMPLE"
msgstr ""
msgstr ""
#. type: SS
-#: build/C/man3/makecontext.3:159 build/C/man3/pthread_attr_init.3:148 build/C/man3/pthread_cancel.3:148 build/C/man3/pthread_cleanup_push.3:227 build/C/man3/pthread_create.3:241 build/C/man3/pthread_getattr_np.3:179 build/C/man3/pthread_getcpuclockid.3:95 build/C/man3/pthread_setname_np.3:138 build/C/man3/pthread_setschedparam.3:224 build/C/man3/pthread_sigmask.3:79
+#: build/C/man3/makecontext.3:159 build/C/man3/pthread_attr_init.3:148 build/C/man3/pthread_cancel.3:151 build/C/man3/pthread_cleanup_push.3:231 build/C/man3/pthread_create.3:241 build/C/man3/pthread_getattr_np.3:179 build/C/man3/pthread_getcpuclockid.3:95 build/C/man3/pthread_setname_np.3:138 build/C/man3/pthread_setschedparam.3:224 build/C/man3/pthread_sigmask.3:79
#, no-wrap
msgid "Program source"
msgstr ""
msgstr ""
#. type: Plain text
-#: 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
+#: 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:96 build/C/man3/pthread_attr_setschedparam.3:88 build/C/man3/pthread_attr_setschedpolicy.3:86 build/C/man3/pthread_attr_setscope.3:106 build/C/man3/pthread_attr_setstack.3:88 build/C/man3/pthread_attr_setstackaddr.3:77 build/C/man3/pthread_attr_setstacksize.3:64 build/C/man3/pthread_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."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_init.3:81 build/C/man3/pthread_attr_setdetachstate.3:89 build/C/man3/pthread_attr_setguardsize.3:108 build/C/man3/pthread_attr_setinheritsched.3:103 build/C/man3/pthread_attr_setschedparam.3:91 build/C/man3/pthread_attr_setschedpolicy.3:91 build/C/man3/pthread_attr_setscope.3:109 build/C/man3/pthread_attr_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
+#: 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:112 build/C/man3/pthread_attr_setschedparam.3:102 build/C/man3/pthread_attr_setschedpolicy.3:102 build/C/man3/pthread_attr_setscope.3:121 build/C/man3/pthread_attr_setstack.3:114 build/C/man3/pthread_attr_setstacksize.3:85 build/C/man3/pthread_cancel.3:127 build/C/man3/pthread_cleanup_push.3:129 build/C/man3/pthread_create.3:148 build/C/man3/pthread_detach.3:66 build/C/man3/pthread_equal.3:49 build/C/man3/pthread_exit.3:77 build/C/man3/pthread_getcpuclockid.3:67 build/C/man3/pthread_join.3:100 build/C/man3/pthread_kill.3:68 build/C/man3/pthread_self.3:52 build/C/man3/pthread_setcancelstate.3:115 build/C/man3/pthread_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 ""
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_init.3:160 build/C/man3/pthread_cancel.3:159 build/C/man3/pthread_cleanup_push.3:239 build/C/man3/pthread_create.3:254 build/C/man3/pthread_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
+#: build/C/man3/pthread_attr_init.3:160 build/C/man3/pthread_cancel.3:162 build/C/man3/pthread_cleanup_push.3:243 build/C/man3/pthread_create.3:254 build/C/man3/pthread_getattr_np.3:191 build/C/man3/pthread_getcpuclockid.3:113 build/C/man3/pthread_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"
msgstr ""
#. type: TP
-#: 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
+#: 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:99 build/C/man3/pthread_attr_setschedpolicy.3:89 build/C/man3/pthread_attr_setscope.3:109 build/C/man3/pthread_attr_setstack.3:91 build/C/man3/pthread_attr_setstacksize.3:67 build/C/man3/pthread_create.3:137 build/C/man3/pthread_detach.3:55 build/C/man3/pthread_join.3:85 build/C/man3/pthread_join.3:89 build/C/man3/pthread_kill.3:58 build/C/man3/pthread_setaffinity_np.3:84 build/C/man3/pthread_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<EINVAL>"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/pthread_attr_setdetachstate.3:26 build/C/man3/pthread_attr_setschedpolicy.3:26
+#: build/C/man3/pthread_attr_setdetachstate.3:26
#, no-wrap
msgid "2010-02-03"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/pthread_attr_setguardsize.3:26 build/C/man3/pthread_attr_setscope.3:26 build/C/man3/pthread_attr_setstack.3:26 build/C/man3/pthread_attr_setstackaddr.3:26 build/C/man3/pthread_self.3:26
+#: build/C/man3/pthread_attr_setguardsize.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 ""
msgstr ""
#. type: SH
-#: 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
+#: build/C/man3/pthread_attr_setguardsize.3:130 build/C/man3/pthread_attr_setinheritsched.3:112 build/C/man3/pthread_attr_setstacksize.3:96 build/C/man3/pthread_create.3:196 build/C/man3/pthread_exit.3:93
#, no-wrap
msgid "BUGS"
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/pthread_attr_setinheritsched.3:26 build/C/man3/pthread_attr_setschedparam.3:26 build/C/man3/pthread_attr_setstacksize.3:26
+#: build/C/man3/pthread_attr_setinheritsched.3:26 build/C/man3/pthread_attr_setscope.3:26
#, no-wrap
-msgid "2012-03-15"
+msgid "2013-04-19"
msgstr ""
#. type: Plain text
#: build/C/man3/pthread_attr_setinheritsched.3:30
msgid ""
-"pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get inherit "
-"scheduler attribute in thread attributes object"
+"pthread_attr_setinheritsched, pthread_attr_getinheritsched - set/get "
+"inherit-scheduler attribute in thread attributes object"
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man3/pthread_attr_setinheritsched.3:55
msgid ""
-"The B<pthread_attr_setinheritsched>() function sets the inherit scheduler "
+"The B<pthread_attr_setinheritsched>() function sets the inherit-scheduler "
"attribute of the thread attributes object referred to by I<attr> to the "
-"value specified in I<inheritsched>. The inherit scheduler attribute "
+"value specified in I<inheritsched>. The inherit-scheduler attribute "
"determines whether a thread created using the thread attributes object "
"I<attr> will inherit its scheduling attributes from the calling thread or "
"whether it will take them from I<attr>."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:58
+#: build/C/man3/pthread_attr_setinheritsched.3:64
+msgid ""
+"The following scheduling attributes are affected by the inherit-scheduler "
+"attribute: scheduling policy (B<pthread_attr_setschedpolicy>(3)), scheduling "
+"priority (B<pthread_attr_setschedparam>(3)), and contention scope "
+"(B<pthread_attr_setscope>(3))."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setinheritsched.3:67
msgid "The following values may be specified in I<inheritsched>:"
msgstr ""
#. type: TP
-#: build/C/man3/pthread_attr_setinheritsched.3:58
+#: build/C/man3/pthread_attr_setinheritsched.3:67
#, no-wrap
msgid "B<PTHREAD_INHERIT_SCHED>"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:66
+#: build/C/man3/pthread_attr_setinheritsched.3:75
msgid ""
"Threads that are created using I<attr> inherit scheduling attributes from "
"the creating thread; the scheduling attributes in I<attr> are ignored."
msgstr ""
#. type: TP
-#: build/C/man3/pthread_attr_setinheritsched.3:66
+#: build/C/man3/pthread_attr_setinheritsched.3:75
#, no-wrap
msgid "B<PTHREAD_EXPLICIT_SCHED>"
msgstr ""
#. FIXME what are the defaults for scheduler settings?
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:73
+#: build/C/man3/pthread_attr_setinheritsched.3:82
msgid ""
"Threads that are created using I<attr> take their scheduling attributes from "
"the values specified by the attributes object."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:77
+#: build/C/man3/pthread_attr_setinheritsched.3:86
msgid ""
-"The default setting of the inherit scheduler attribute in a newly "
+"The default setting of the inherit-scheduler attribute in a newly "
"initialized thread attributes object is B<PTHREAD_INHERIT_SCHED>."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:84
+#: build/C/man3/pthread_attr_setinheritsched.3:93
msgid ""
-"The B<pthread_attr_getinheritsched>() returns the inherit scheduler "
+"The B<pthread_attr_getinheritsched>() returns the inherit-scheduler "
"attribute of the thread attributes object I<attr> in the buffer pointed to "
"by I<inheritsched>."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:90
+#: build/C/man3/pthread_attr_setinheritsched.3:99
msgid "B<pthread_attr_setinheritsched>() can fail with the following error:"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:94
+#: build/C/man3/pthread_attr_setinheritsched.3:103
msgid "Invalid value in I<inheritsched>."
msgstr ""
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:101
+#: build/C/man3/pthread_attr_setinheritsched.3:110
msgid ""
"POSIX.1-2001 also documents an optional B<ENOTSUP> error (\"attempt was made "
"to set the attribute to an unsupported value\") for "
#. FIXME . Track status of the following bug:
#. http://sourceware.org/bugzilla/show_bug.cgi?id=7007
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:119
+#: build/C/man3/pthread_attr_setinheritsched.3:128
msgid ""
"As at glibc 2.8, if a thread attributes object is initialized using "
"B<pthread_attr_init>(3), then the scheduling policy of the attributes object "
"is set to B<SCHED_OTHER> and the scheduling priority is set to 0. However, "
-"if the inherit scheduler attribute is then set to B<PTHREAD_EXPLICIT_SCHED>, "
+"if the inherit-scheduler attribute is then set to B<PTHREAD_EXPLICIT_SCHED>, "
"then a thread created using the attribute object wrongly inherits its "
"scheduling attributes from the creating thread. This bug does not occur if "
"either the scheduling policy or scheduling priority attribute is explicitly "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:122 build/C/man3/pthread_attr_setschedparam.3:98 build/C/man3/pthread_attr_setschedpolicy.3:94
+#: build/C/man3/pthread_attr_setinheritsched.3:131 build/C/man3/pthread_attr_setschedparam.3:109 build/C/man3/pthread_attr_setschedpolicy.3:105
msgid "See B<pthread_setschedparam>(3)."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setinheritsched.3:133
+#: build/C/man3/pthread_attr_setinheritsched.3:143
msgid ""
"B<sched_setscheduler>(2), B<pthread_attr_init>(3), "
"B<pthread_attr_setschedparam>(3), B<pthread_attr_setschedpolicy>(3), "
-"B<pthread_create>(3), B<pthread_setschedparam>(3), "
-"B<pthread_setschedprio>(3), B<pthreads>(7)"
+"B<pthread_attr_setscope>(3), B<pthread_create>(3), "
+"B<pthread_setschedparam>(3), B<pthread_setschedprio>(3), B<pthreads>(7)"
msgstr ""
#. type: TH
msgid "PTHREAD_ATTR_SETSCHEDPARAM"
msgstr ""
+#. type: TH
+#: build/C/man3/pthread_attr_setschedparam.3:26 build/C/man3/pthread_attr_setschedpolicy.3:26 build/C/man3/pthread_setname_np.3:26
+#, no-wrap
+msgid "2013-06-21"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/pthread_attr_setschedparam.3:30
msgid ""
"see B<sched_setscheduler>(2)."
msgstr ""
+#. type: Plain text
+#: build/C/man3/pthread_attr_setschedparam.3:85
+msgid ""
+"In order for the parameter setting made by B<pthread_attr_setschedparam>() "
+"to have effect when calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
+msgstr ""
+
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:89
+#: build/C/man3/pthread_attr_setschedparam.3:100
msgid ""
"POSIX.1 documents B<EINVAL> and B<ENOTSUP> errors for "
"B<pthread_attr_setschedparam>(). On Linux these functions always succeed "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:95
+#: build/C/man3/pthread_attr_setschedparam.3:106
msgid ""
"See B<pthread_attr_setschedpolicy>(3) for a list of the thread scheduling "
"policies supported on Linux."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedparam.3:110
+#: build/C/man3/pthread_attr_setschedparam.3:121
msgid ""
"B<sched_get_priority_min>(2), B<sched_setscheduler>(2), "
"B<pthread_attr_init>(3), B<pthread_attr_setinheritsched>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:78
+#: build/C/man3/pthread_attr_setschedpolicy.3:83
+msgid ""
+"In order for the policy setting made by B<pthread_attr_setschedpolicy>() to "
+"have effect when calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setschedpolicy.3:89
msgid "B<pthread_attr_setschedpolicy>() can fail with the following error:"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:82
+#: build/C/man3/pthread_attr_setschedpolicy.3:93
msgid "Invalid value in I<policy>."
msgstr ""
#. .SH VERSIONS
#. Available since glibc 2.0.
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:89
+#: build/C/man3/pthread_attr_setschedpolicy.3:100
msgid ""
"POSIX.1-2001 also documents an optional B<ENOTSUP> error (\"attempt was made "
"to set the attribute to an unsupported value\") for "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setschedpolicy.3:105
+#: build/C/man3/pthread_attr_setschedpolicy.3:116
msgid ""
"B<sched_setscheduler>(2), B<pthread_attr_init>(3), "
"B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
#. type: Plain text
#: build/C/man3/pthread_attr_setscope.3:83
msgid ""
-"POSIX.1-2001 only requires that an implementation support one of these "
-"contention scopes, but permits both to be supported. Linux supports "
-"B<PTHREAD_SCOPE_SYSTEM>, but not B<PTHREAD_SCOPE_PROCESS>."
+"POSIX.1-2001 requires that an implementation support at least one of these "
+"contention scopes. Linux supports B<PTHREAD_SCOPE_SYSTEM>, but not "
+"B<PTHREAD_SCOPE_PROCESS>."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/pthread_attr_setscope.3:95
+msgid ""
+"On systems that support multiple contention scopes, then, in order for the "
+"parameter setting made by B<pthread_attr_setscope>() to have effect when "
+"calling B<pthread_create>(3), the caller must use "
+"B<pthread_attr_setinheritsched>(3) to set the inherit-scheduler attribute "
+"of the attributes object I<attr> to B<PTHREAD_EXPLICIT_SCHED>."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:91
+#: build/C/man3/pthread_attr_setscope.3:103
msgid ""
"The B<pthread_attr_getscope>() function returns the contention scope "
"attribute of the thread attributes object referred to by I<attr> in the "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:97
+#: build/C/man3/pthread_attr_setscope.3:109
msgid "B<pthread_attr_setscope>() can fail with the following errors:"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:101
+#: build/C/man3/pthread_attr_setscope.3:113
msgid "An invalid value was specified in I<scope>."
msgstr ""
#. type: TP
-#: build/C/man3/pthread_attr_setscope.3:101
+#: build/C/man3/pthread_attr_setscope.3:113
#, no-wrap
msgid "B<ENOTSUP>"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:107
+#: build/C/man3/pthread_attr_setscope.3:119
msgid ""
"I<scope> specified the value B<PTHREAD_SCOPE_PROCESS>, which is not "
"supported on Linux."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:117
+#: build/C/man3/pthread_attr_setscope.3:129
msgid ""
"The B<PTHREAD_SCOPE_SYSTEM> contention scope typically indicates that a "
"user-space thread is bound directly to a single kernel-scheduling entity. "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:120
+#: build/C/man3/pthread_attr_setscope.3:132
msgid ""
"POSIX.1-2001 specifies that the default contention scope is "
"implementation-defined."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_attr_setscope.3:130
+#: build/C/man3/pthread_attr_setscope.3:142
msgid ""
"B<pthread_attr_init>(3), B<pthread_attr_setaffinity_np>(3), "
"B<pthread_attr_setinheritsched>(3), B<pthread_attr_setschedparam>(3), "
msgid "PTHREAD_ATTR_SETSTACKSIZE"
msgstr ""
+#. type: TH
+#: build/C/man3/pthread_attr_setstacksize.3:26
+#, no-wrap
+msgid "2012-03-15"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/pthread_attr_setstacksize.3:30
msgid ""
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:46
+#: build/C/man3/pthread_cancel.3:49
msgid ""
"The B<pthread_cancel>() function sends a cancellation request to the thread "
"I<thread>. Whether and when the target thread reacts to the cancellation "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:58
+#: build/C/man3/pthread_cancel.3:61
msgid ""
"A thread's cancelability state, determined by B<pthread_setcancelstate>(3), "
"can be I<enabled> (the default for new threads) or I<disabled>. If a thread "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:74
+#: build/C/man3/pthread_cancel.3:77
msgid ""
"A thread's cancellation type, determined by B<pthread_setcanceltype>(3), may "
"be either I<asynchronous> or I<deferred> (the default for new threads). "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:78
+#: build/C/man3/pthread_cancel.3:81
msgid ""
"When a cancellation requested is acted on, the following steps occur for "
"I<thread> (in this order):"
msgstr ""
#. type: IP
-#: build/C/man3/pthread_cancel.3:78 build/C/man3/pthread_cleanup_push.3:69
+#: build/C/man3/pthread_cancel.3:81 build/C/man3/pthread_cleanup_push.3:69
#, no-wrap
msgid "1."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:83
+#: build/C/man3/pthread_cancel.3:86
msgid ""
"Cancellation clean-up handlers are popped (in the reverse of the order in "
"which they were pushed) and called. (See B<pthread_cleanup_push>(3).)"
msgstr ""
#. type: IP
-#: build/C/man3/pthread_cancel.3:83 build/C/man3/pthread_cleanup_push.3:73
+#: build/C/man3/pthread_cancel.3:86 build/C/man3/pthread_cleanup_push.3:73
#, no-wrap
msgid "2."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:88
+#: build/C/man3/pthread_cancel.3:91
msgid ""
"Thread-specific data destructors are called, in an unspecified order. (See "
"B<pthread_key_create>(3).)"
msgstr ""
#. type: IP
-#: build/C/man3/pthread_cancel.3:88 build/C/man3/pthread_cleanup_push.3:81
+#: build/C/man3/pthread_cancel.3:91 build/C/man3/pthread_cleanup_push.3:83
#, no-wrap
msgid "3."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:92
+#: build/C/man3/pthread_cancel.3:95
msgid "The thread is terminated. (See B<pthread_exit>(3).)"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:100
+#: build/C/man3/pthread_cancel.3:103
msgid ""
"The above steps happen asynchronously with respect to the "
"B<pthread_cancel>() call; the return status of B<pthread_cancel>() merely "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:109
+#: build/C/man3/pthread_cancel.3:112
msgid ""
"After a canceled thread has terminated, a join with that thread using "
"B<pthread_join>(3) obtains B<PTHREAD_CANCELED> as the thread's exit "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:114
+#: build/C/man3/pthread_cancel.3:117
msgid ""
"On success, B<pthread_cancel>() returns 0; on error, it returns a nonzero "
"error number."
msgstr ""
#. type: TP
-#: 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
+#: build/C/man3/pthread_cancel.3:118 build/C/man3/pthread_detach.3:59 build/C/man3/pthread_getcpuclockid.3:58 build/C/man3/pthread_join.3:93 build/C/man3/pthread_kill.3:61 build/C/man3/pthread_setaffinity_np.3:114 build/C/man3/pthread_setschedparam.3:114 build/C/man3/pthread_setschedprio.3:70 build/C/man3/pthread_sigqueue.3:85
#, no-wrap
msgid "B<ESRCH>"
msgstr ""
#. type: Plain text
-#: 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
+#: build/C/man3/pthread_cancel.3:125 build/C/man3/pthread_detach.3:64 build/C/man3/pthread_getcpuclockid.3:63 build/C/man3/pthread_join.3:98 build/C/man3/pthread_kill.3:66 build/C/man3/pthread_setaffinity_np.3:119 build/C/man3/pthread_setschedparam.3:119 build/C/man3/pthread_setschedprio.3:75
msgid "No thread with the ID I<thread> could be found."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:132
+#: build/C/man3/pthread_cancel.3:135
msgid ""
"On Linux, cancellation is implemented using signals. Under the NPTL "
"threading implementation, the first real-time signal (i.e., signal 32) is "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:138
+#: build/C/man3/pthread_cancel.3:141
msgid ""
"The program below creates a thread and then cancels it. The main thread "
"joins with the canceled thread to check that its exit status was "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:146
+#: build/C/man3/pthread_cancel.3:149
#, no-wrap
msgid ""
"$ ./a.out\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:156
+#: build/C/man3/pthread_cancel.3:159
#, no-wrap
msgid ""
"#include E<lt>pthread.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:164
+#: build/C/man3/pthread_cancel.3:167
#, no-wrap
msgid ""
"static void *\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:167
+#: build/C/man3/pthread_cancel.3:170
#, no-wrap
msgid ""
" /* Disable cancellation for a while, so that we don\\(aqt\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:171
+#: build/C/man3/pthread_cancel.3:174
#, no-wrap
msgid ""
" s = pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:175
+#: build/C/man3/pthread_cancel.3:178
#, no-wrap
msgid ""
" printf(\"thread_func(): started; cancellation disabled\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:179
+#: build/C/man3/pthread_cancel.3:182
#, no-wrap
msgid ""
" s = pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:181
+#: build/C/man3/pthread_cancel.3:184
#, no-wrap
msgid " /* sleep() is a cancellation point */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:183
+#: build/C/man3/pthread_cancel.3:186
#, no-wrap
msgid " sleep(1000); /* Should get canceled while we sleep */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:185
+#: build/C/man3/pthread_cancel.3:188
#, no-wrap
msgid " /* Should never get here */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:189
+#: build/C/man3/pthread_cancel.3:192
#, no-wrap
msgid ""
" printf(\"thread_func(): not canceled!\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:196
+#: build/C/man3/pthread_cancel.3:199
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:198
+#: build/C/man3/pthread_cancel.3:201
#, no-wrap
msgid " /* Start a thread and then send it a cancellation request */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:202
+#: build/C/man3/pthread_cancel.3:205
#, no-wrap
msgid ""
" s = pthread_create(&thr, NULL, &thread_func, NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:204
+#: build/C/man3/pthread_cancel.3:207
#, no-wrap
msgid " sleep(2); /* Give thread a chance to get started */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:209
+#: build/C/man3/pthread_cancel.3:212
#, no-wrap
msgid ""
" printf(\"main(): sending cancellation request\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:211
+#: build/C/man3/pthread_cancel.3:214
#, no-wrap
msgid " /* Join with thread to see what its exit status was */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:215 build/C/man3/pthread_cleanup_push.3:303
+#: build/C/man3/pthread_cancel.3:218 build/C/man3/pthread_cleanup_push.3:307
#, no-wrap
msgid ""
" s = pthread_join(thr, &res);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:222
+#: build/C/man3/pthread_cancel.3:225
#, no-wrap
msgid ""
" if (res == PTHREAD_CANCELED)\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cancel.3:235
+#: build/C/man3/pthread_cancel.3:238
msgid ""
"B<pthread_cleanup_push>(3), B<pthread_create>(3), B<pthread_exit>(3), "
"B<pthread_join>(3), B<pthread_key_create>(3), B<pthread_setcancelstate>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:81
+#: build/C/man3/pthread_cleanup_push.3:83
msgid ""
"When a thread terminates by calling B<pthread_exit>(3), all clean-up "
"handlers are executed as described in the preceding point. (Clean-up "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:87
+#: build/C/man3/pthread_cleanup_push.3:89
msgid ""
"When a thread calls B<pthread_cleanup_pop>() with a nonzero I<execute> "
"argument, the top-most clean-up handler is popped and executed."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:99
+#: build/C/man3/pthread_cleanup_push.3:101
msgid ""
"POSIX.1 permits B<pthread_cleanup_push>() and B<pthread_cleanup_pop>() to "
"be implemented as macros that expand to text containing \\(aqB<{>\\(aq and "
"\\(aqB<}>\\(aq, respectively. For this reason, the caller must ensure that "
"calls to these functions are paired within the same function, and at the "
-"same lexical nesting level. (In other words, a clean-up handler is only "
-"established during the execution of a specified section of code.)"
+"same lexical nesting level. (In other words, a clean-up handler is "
+"established only during the execution of a specified section of code.)"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:119
+#: build/C/man3/pthread_cleanup_push.3:121
msgid ""
"Calling B<longjmp>(3) (B<siglongjmp>(3)) produces undefined results if any "
"call has been made to B<pthread_cleanup_push>() or B<pthread_cleanup_pop>() "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:121
+#: build/C/man3/pthread_cleanup_push.3:123
msgid "These functions do not return a value."
msgstr ""
#. SH VERSIONS
#. Available since glibc 2.0
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:125
+#: build/C/man3/pthread_cleanup_push.3:127
msgid "There are no errors."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:136
+#: build/C/man3/pthread_cleanup_push.3:140
msgid ""
"On Linux, the B<pthread_cleanup_push>() and B<pthread_cleanup_pop>() "
"functions I<are> implemented as macros that expand to text containing "
"\\(aqB<{>\\(aq and \\(aqB<}>\\(aq, respectively. This means that variables "
-"declared within the scope of paired calls to these functions will only be "
-"visible within that scope."
+"declared within the scope of paired calls to these functions will be visible "
+"within only that scope."
msgstr ""
#. The text was actually added in the 2004 TC2
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:151
+#: build/C/man3/pthread_cleanup_push.3:155
msgid ""
"POSIX.1 says that the effect of using I<return>, I<break>, I<continue>, or "
"I<goto> to prematurely leave a block bracketed B<pthread_cleanup_push>() "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:166
+#: build/C/man3/pthread_cleanup_push.3:170
msgid ""
"The program below provides a simple example of the use of the functions "
"described in this page. The program creates a thread that executes a loop "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:169
+#: build/C/man3/pthread_cleanup_push.3:173
msgid ""
"In the following shell session, the main thread sends a cancellation request "
"to the other thread:"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:179
+#: build/C/man3/pthread_cleanup_push.3:183
#, no-wrap
msgid ""
"$ B<./a.out>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:187
+#: build/C/man3/pthread_cleanup_push.3:191
msgid ""
"From the above, we see that the thread was canceled, and that the "
"cancellation clean-up handler was called and it reset the value of the "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:190
+#: build/C/man3/pthread_cleanup_push.3:194
msgid ""
"In the next run, the main program sets a global variable that causes other "
"thread to terminate normally:"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:198
+#: build/C/man3/pthread_cleanup_push.3:202
#, no-wrap
msgid ""
"$ B<./a.out x>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:206
+#: build/C/man3/pthread_cleanup_push.3:210
msgid ""
"From the above, we see that the clean-up handler was not executed (because "
"I<cleanup_pop_arg> was 0), and therefore the value of I<cnt> was not reset."
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:211
+#: build/C/man3/pthread_cleanup_push.3:215
msgid ""
"In the next run, the main program sets a global variable that causes the "
"other thread to terminate normally, and supplies a nonzero value for "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:220
+#: build/C/man3/pthread_cleanup_push.3:224
#, no-wrap
msgid ""
"$ B<./a.out x 1>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:227
+#: build/C/man3/pthread_cleanup_push.3:231
msgid ""
"In the above, we see that although the thread was not canceled, the clean-up "
"handler was executed, because the argument given to B<pthread_cleanup_pop>() "
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:236
+#: build/C/man3/pthread_cleanup_push.3:240
#, no-wrap
msgid ""
"#include E<lt>pthread.hE<gt>\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:243
+#: build/C/man3/pthread_cleanup_push.3:247
#, no-wrap
msgid ""
"static int done = 0;\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:250
+#: build/C/man3/pthread_cleanup_push.3:254
#, no-wrap
msgid ""
"static void\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:255
+#: build/C/man3/pthread_cleanup_push.3:259
#, no-wrap
msgid ""
"static void *\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:257
+#: build/C/man3/pthread_cleanup_push.3:261
#, no-wrap
msgid " printf(\"New thread started\\en\");\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:259
+#: build/C/man3/pthread_cleanup_push.3:263
#, no-wrap
msgid " pthread_cleanup_push(cleanup_handler, NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:261
+#: build/C/man3/pthread_cleanup_push.3:265
#, no-wrap
msgid " curr = start = time(NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:270
+#: build/C/man3/pthread_cleanup_push.3:274
#, no-wrap
msgid ""
" while (!done) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:274
+#: build/C/man3/pthread_cleanup_push.3:278
#, no-wrap
msgid ""
" pthread_cleanup_pop(cleanup_pop_arg);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:281
+#: build/C/man3/pthread_cleanup_push.3:285
#, no-wrap
msgid ""
"int\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:285
+#: build/C/man3/pthread_cleanup_push.3:289
#, no-wrap
msgid ""
" s = pthread_create(&thr, NULL, thread_start, NULL);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:287
+#: build/C/man3/pthread_cleanup_push.3:291
#, no-wrap
msgid " sleep(2); /* Allow new thread to run a while */\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:292
+#: build/C/man3/pthread_cleanup_push.3:296
#, no-wrap
msgid ""
" if (argc E<gt> 1) {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:299
+#: build/C/man3/pthread_cleanup_push.3:303
#, no-wrap
msgid ""
" } else {\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:310
+#: build/C/man3/pthread_cleanup_push.3:314
#, no-wrap
msgid ""
" if (res == PTHREAD_CANCELED)\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/pthread_cleanup_push.3:317
+#: build/C/man3/pthread_cleanup_push.3:321
msgid ""
"B<pthread_cancel>(3), B<pthread_cleanup_push_defer_np>(3), "
"B<pthread_setcancelstate>(3), B<pthread_testcancel>(3), B<pthreads>(7)"
#, no-wrap
msgid ""
"$B< ulimit -s>\n"
-"8192 # The stack size limit is 8 MB (0x80000 bytes)\n"
+"8192 # The stack size limit is 8 MB (0x800000 bytes)\n"
"$B< ./a.out hola salut servus>\n"
"Thread 1: top of stack near 0xb7dd03b8; argv_string=hola\n"
"Thread 2: top of stack near 0xb75cf3b8; argv_string=salut\n"
#. type: Plain text
#: build/C/man3/pthread_kill_other_threads_np.3:47
msgid ""
-"B<pthread_kill_other_threads_np>() only has an effect in the LinuxThreads "
+"B<pthread_kill_other_threads_np>() has an effect only in the LinuxThreads "
"threading implementation. On that implementation, calling this function "
"causes the immediate termination of all threads in the application, except "
"the calling thread. The cancellation state and cancellation type of the "
#. type: Plain text
#: build/C/man3/pthread_self.3:71
msgid ""
-"Thread IDs are only guaranteed to be unique within a process. A thread ID "
+"Thread IDs are guaranteed to be unique only within a process. A thread ID "
"may be reused after a terminated thread has been joined, or a detached "
"thread has terminated."
msgstr ""
"left in an inconsistent state if cancellation occurs in the middle of the "
"function call. Consequently, clean-up handlers cease to be useful. "
"Functions that can be safely asynchronously canceled are called "
-"I<async-cancel-safe functions>. POSIX.1-2001 only requires that "
+"I<async-cancel-safe functions>. POSIX.1-2001 requires only that "
"B<pthread_cancel>(3), B<pthread_setcancelstate>(), and "
"B<pthread_setcanceltype>() be async-cancel-safe. In general, other library "
"functions can't be safely called from an asynchronously cancelable thread. "
msgid ""
"The B<pthread_setconcurrency>() function informs the implementation of the "
"application's desired concurrency level, specified in I<new_level>. The "
-"implementation only takes this as a hint: POSIX.1 does not specify the level "
+"implementation takes this only as a hint: POSIX.1 does not specify the level "
"of concurrency that should be provided as a result of calling "
"B<pthread_setconcurrency>()."
msgstr ""
#. type: Plain text
#: build/C/man3/pthread_setconcurrency.3:94
msgid ""
-"Concurrency levels are only meaningful for M:N threading implementations, "
+"Concurrency levels are meaningful only for M:N threading implementations, "
"where at any moment a subset of a process's set of user-level threads may be "
"bound to a smaller number of kernel-scheduling entities. Setting the "
"concurrency level allows the application to give the system a hint as to the "
msgid "PTHREAD_SETNAME_NP"
msgstr ""
-#. type: TH
-#: build/C/man3/pthread_setname_np.3:26
-#, no-wrap
-msgid "2013-02-04"
-msgstr ""
-
#. type: Plain text
#: build/C/man3/pthread_setname_np.3:29
msgid "pthread_setname_np, pthread_getname_np - set/get the name of a thread"
msgid ""
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
"B<#include E<lt>pthread.hE<gt>>\n"
-"B<int pthread_setname_np(pthread_t *>I<thread>B<, const char "
-"*>I<name>B<);>\n"
-"B<int pthread_getname_np(pthread_t *>I<thread>B<,>\n"
+"B<int pthread_setname_np(pthread_t >I<thread>B<, const char *>I<name>B<);>\n"
+"B<int pthread_getname_np(pthread_t >I<thread>B<,>\n"
"B< const char *>I<name>B<, size_t >I<len>B<);>\n"
msgstr ""
"program name. The B<pthread_setname_np>() function can be used to set a "
"unique name for a thread, which can be useful for debugging multithreaded "
"applications. The thread name is a meaningful C language string, whose "
-"length is restricted to 16 characters, including the terminating null byte. "
-"The I<thread> argument specifies the thread whose name is to be changed; "
-"I<name> specifies the new name."
+"length is restricted to 16 characters, including the terminating null byte "
+"(\\(aq\\e0\\(aq). The I<thread> argument specifies the thread whose name is "
+"to be changed; I<name> specifies the new name."
msgstr ""
#. type: Plain text
"Each of the threads in a process has a unique thread identifier (stored in "
"the type I<pthread_t>). This identifier is returned to the caller of "
"B<pthread_create>(3), and a thread can obtain its own thread identifier "
-"using B<pthread_self>(3). Thread IDs are only guaranteed to be unique "
+"using B<pthread_self>(3). Thread IDs are guaranteed to be unique only "
"within a process. A thread ID may be reused after a terminated thread has "
"been joined, or a detached thread has terminated. In all pthreads functions "
"that accept a thread ID as an argument, that ID by definition refers to a "
"According to POSIX.1, a process-directed signal (sent using B<kill>(2), for "
"example) should be handled by a single, arbitrarily selected thread within "
"the process. LinuxThreads does not support the notion of process-directed "
-"signals: signals may only be sent to specific threads."
+"signals: signals may be sent only to specific threads."
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man7/pthreads.7:808
-msgid "Some NPTL nonconformances only occur with older kernels:"
+msgid "Some NPTL nonconformances occur only with older kernels:"
msgstr ""
#. type: Plain text