summaryrefslogtreecommitdiffstats
path: root/templates/man3/pthread_setschedparam.3.pot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /templates/man3/pthread_setschedparam.3.pot
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/man3/pthread_setschedparam.3.pot')
-rw-r--r--templates/man3/pthread_setschedparam.3.pot241
1 files changed, 21 insertions, 220 deletions
diff --git a/templates/man3/pthread_setschedparam.3.pot b/templates/man3/pthread_setschedparam.3.pot
index 349e7b58..18ebcb03 100644
--- a/templates/man3/pthread_setschedparam.3.pot
+++ b/templates/man3/pthread_setschedparam.3.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2024-03-01 17:05+0100\n"
+"POT-Creation-Date: 2024-06-01 06:13+0200\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"
@@ -24,15 +24,15 @@ msgid "pthread_setschedparam"
msgstr ""
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
+msgid "2024-05-02"
msgstr ""
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable
#, no-wrap
-msgid "Linux man-pages 6.06"
+msgid "Linux man-pages 6.8"
msgstr ""
#. type: SH
@@ -481,7 +481,7 @@ msgstr ""
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
msgid ""
-"Note that if we had omitted the I<-i\\~i> option, the output would have been "
+"Note that if we had omitted the I<-i\\ i> option, the output would have been "
"the same, since B<PTHREAD_INHERIT_SCHED> is the default for the inherit "
"scheduler attribute."
msgstr ""
@@ -494,7 +494,8 @@ msgid "Program source"
msgstr ""
#. type: Plain text
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
#, no-wrap
msgid ""
"/* pthreads_sched_test.c */\n"
@@ -1187,227 +1188,21 @@ msgid ""
msgstr ""
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
+msgid "2023-10-31"
msgstr ""
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
+msgid "Linux man-pages 6.06"
msgstr ""
-#. type: Plain text
-#: debian-unstable opensuse-tumbleweed
+#. type: TH
+#: fedora-rawhide
#, no-wrap
-msgid ""
-"/* pthreads_sched_test.c */\n"
-"\\&\n"
-"#include E<lt>errno.hE<gt>\n"
-"#include E<lt>pthread.hE<gt>\n"
-"#include E<lt>stdio.hE<gt>\n"
-"#include E<lt>stdlib.hE<gt>\n"
-"#include E<lt>unistd.hE<gt>\n"
-"\\&\n"
-"#define handle_error_en(en, msg) \\e\n"
-" do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)\n"
-"\\&\n"
-"static void\n"
-"usage(char *prog_name, char *msg)\n"
-"{\n"
-" if (msg != NULL)\n"
-" fputs(msg, stderr);\n"
-"\\&\n"
-" fprintf(stderr, \"Usage: %s [options]\\en\", prog_name);\n"
-" fprintf(stderr, \"Options are:\\en\");\n"
-"#define fpe(msg) fprintf(stderr, \"\\et%s\", msg) /* Shorter */\n"
-" fpe(\"-aE<lt>policyE<gt>E<lt>prioE<gt> Set scheduling policy and priority in\\en\");\n"
-" fpe(\" thread attributes object\\en\");\n"
-" fpe(\" E<lt>policyE<gt> can be\\en\");\n"
-" fpe(\" f SCHED_FIFO\\en\");\n"
-" fpe(\" r SCHED_RR\\en\");\n"
-" fpe(\" o SCHED_OTHER\\en\");\n"
-" fpe(\"-A Use default thread attributes object\\en\");\n"
-" fpe(\"-i {e|i} Set inherit scheduler attribute to\\en\");\n"
-" fpe(\" \\[aq]explicit\\[aq] or \\[aq]inherit\\[aq]\\en\");\n"
-" fpe(\"-mE<lt>policyE<gt>E<lt>prioE<gt> Set scheduling policy and priority on\\en\");\n"
-" fpe(\" main thread before pthread_create() call\\en\");\n"
-" exit(EXIT_FAILURE);\n"
-"}\n"
-"\\&\n"
-"static int\n"
-"get_policy(char p, int *policy)\n"
-"{\n"
-" switch (p) {\n"
-" case \\[aq]f\\[aq]: *policy = SCHED_FIFO; return 1;\n"
-" case \\[aq]r\\[aq]: *policy = SCHED_RR; return 1;\n"
-" case \\[aq]o\\[aq]: *policy = SCHED_OTHER; return 1;\n"
-" default: return 0;\n"
-" }\n"
-"}\n"
-"\\&\n"
-"static void\n"
-"display_sched_attr(int policy, struct sched_param *param)\n"
-"{\n"
-" printf(\" policy=%s, priority=%d\\en\",\n"
-" (policy == SCHED_FIFO) ? \"SCHED_FIFO\" :\n"
-" (policy == SCHED_RR) ? \"SCHED_RR\" :\n"
-" (policy == SCHED_OTHER) ? \"SCHED_OTHER\" :\n"
-" \"???\",\n"
-" param-E<gt>sched_priority);\n"
-"}\n"
-"\\&\n"
-"static void\n"
-"display_thread_sched_attr(char *msg)\n"
-"{\n"
-" int policy, s;\n"
-" struct sched_param param;\n"
-"\\&\n"
-" s = pthread_getschedparam(pthread_self(), &policy, &param);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_getschedparam\");\n"
-"\\&\n"
-" printf(\"%s\\en\", msg);\n"
-" display_sched_attr(policy, &param);\n"
-"}\n"
-"\\&\n"
-"static void *\n"
-"thread_start(void *arg)\n"
-"{\n"
-" display_thread_sched_attr(\"Scheduler attributes of new thread\");\n"
-"\\&\n"
-" return NULL;\n"
-"}\n"
-"\\&\n"
-"int\n"
-"main(int argc, char *argv[])\n"
-"{\n"
-" int s, opt, inheritsched, use_null_attrib, policy;\n"
-" pthread_t thread;\n"
-" pthread_attr_t attr;\n"
-" pthread_attr_t *attrp;\n"
-" char *attr_sched_str, *main_sched_str, *inheritsched_str;\n"
-" struct sched_param param;\n"
-"\\&\n"
-" /* Process command-line options. */\n"
-"\\&\n"
-" use_null_attrib = 0;\n"
-" attr_sched_str = NULL;\n"
-" main_sched_str = NULL;\n"
-" inheritsched_str = NULL;\n"
-"\\&\n"
-" while ((opt = getopt(argc, argv, \"a:Ai:m:\")) != -1) {\n"
-" switch (opt) {\n"
-" case \\[aq]a\\[aq]: attr_sched_str = optarg; break;\n"
-" case \\[aq]A\\[aq]: use_null_attrib = 1; break;\n"
-" case \\[aq]i\\[aq]: inheritsched_str = optarg; break;\n"
-" case \\[aq]m\\[aq]: main_sched_str = optarg; break;\n"
-" default: usage(argv[0], \"Unrecognized option\\en\");\n"
-" }\n"
-" }\n"
-"\\&\n"
-" if (use_null_attrib\n"
-" && (inheritsched_str != NULL || attr_sched_str != NULL))\n"
-" {\n"
-" usage(argv[0], \"Can\\[aq]t specify -A with -i or -a\\en\");\n"
-" }\n"
-"\\&\n"
-" /* Optionally set scheduling attributes of main thread,\n"
-" and display the attributes. */\n"
-"\\&\n"
-" if (main_sched_str != NULL) {\n"
-" if (!get_policy(main_sched_str[0], &policy))\n"
-" usage(argv[0], \"Bad policy for main thread (-m)\\en\");\n"
-" param.sched_priority = strtol(&main_sched_str[1], NULL, 0);\n"
-"\\&\n"
-" s = pthread_setschedparam(pthread_self(), policy, &param);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_setschedparam\");\n"
-" }\n"
-"\\&\n"
-" display_thread_sched_attr(\"Scheduler settings of main thread\");\n"
-" printf(\"\\en\");\n"
-"\\&\n"
-" /* Initialize thread attributes object according to options. */\n"
-"\\&\n"
-" attrp = NULL;\n"
-"\\&\n"
-" if (!use_null_attrib) {\n"
-" s = pthread_attr_init(&attr);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_init\");\n"
-" attrp = &attr;\n"
-" }\n"
-"\\&\n"
-" if (inheritsched_str != NULL) {\n"
-" if (inheritsched_str[0] == \\[aq]e\\[aq])\n"
-" inheritsched = PTHREAD_EXPLICIT_SCHED;\n"
-" else if (inheritsched_str[0] == \\[aq]i\\[aq])\n"
-" inheritsched = PTHREAD_INHERIT_SCHED;\n"
-" else\n"
-" usage(argv[0], \"Value for -i must be \\[aq]e\\[aq] or \\[aq]i\\[aq]\\en\");\n"
-"\\&\n"
-" s = pthread_attr_setinheritsched(&attr, inheritsched);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_setinheritsched\");\n"
-" }\n"
-"\\&\n"
-" if (attr_sched_str != NULL) {\n"
-" if (!get_policy(attr_sched_str[0], &policy))\n"
-" usage(argv[0], \"Bad policy for \\[aq]attr\\[aq] (-a)\\en\");\n"
-" param.sched_priority = strtol(&attr_sched_str[1], NULL, 0);\n"
-"\\&\n"
-" s = pthread_attr_setschedpolicy(&attr, policy);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_setschedpolicy\");\n"
-" s = pthread_attr_setschedparam(&attr, &param);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_setschedparam\");\n"
-" }\n"
-"\\&\n"
-" /* If we initialized a thread attributes object, display\n"
-" the scheduling attributes that were set in the object. */\n"
-"\\&\n"
-" if (attrp != NULL) {\n"
-" s = pthread_attr_getschedparam(&attr, &param);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_getschedparam\");\n"
-" s = pthread_attr_getschedpolicy(&attr, &policy);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_getschedpolicy\");\n"
-"\\&\n"
-" printf(\"Scheduler settings in \\[aq]attr\\[aq]\\en\");\n"
-" display_sched_attr(policy, &param);\n"
-"\\&\n"
-" pthread_attr_getinheritsched(&attr, &inheritsched);\n"
-" printf(\" inheritsched is %s\\en\",\n"
-" (inheritsched == PTHREAD_INHERIT_SCHED) ? \"INHERIT\" :\n"
-" (inheritsched == PTHREAD_EXPLICIT_SCHED) ? \"EXPLICIT\" :\n"
-" \"???\");\n"
-" printf(\"\\en\");\n"
-" }\n"
-"\\&\n"
-" /* Create a thread that will display its scheduling attributes. */\n"
-"\\&\n"
-" s = pthread_create(&thread, attrp, &thread_start, NULL);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_create\");\n"
-"\\&\n"
-" /* Destroy unneeded thread attributes object. */\n"
-"\\&\n"
-" if (!use_null_attrib) {\n"
-" s = pthread_attr_destroy(&attr);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_attr_destroy\");\n"
-" }\n"
-"\\&\n"
-" s = pthread_join(thread, NULL);\n"
-" if (s != 0)\n"
-" handle_error_en(s, \"pthread_join\");\n"
-"\\&\n"
-" exit(EXIT_SUCCESS);\n"
-"}\n"
+msgid "Linux man-pages 6.7"
msgstr ""
#. type: TH
@@ -1421,3 +1216,9 @@ msgstr ""
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr ""
+
+#. type: TH
+#: opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages (unreleased)"
+msgstr ""