summaryrefslogtreecommitdiffstats
path: root/po/fr/man3/pthread_setschedparam.3.po
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--po/fr/man3/pthread_setschedparam.3.po256
1 files changed, 31 insertions, 225 deletions
diff --git a/po/fr/man3/pthread_setschedparam.3.po b/po/fr/man3/pthread_setschedparam.3.po
index b8c9f240..127a834f 100644
--- a/po/fr/man3/pthread_setschedparam.3.po
+++ b/po/fr/man3/pthread_setschedparam.3.po
@@ -20,7 +20,7 @@
msgid ""
msgstr ""
"Project-Id-Version: perkamon\n"
-"POT-Creation-Date: 2024-03-01 17:05+0100\n"
+"POT-Creation-Date: 2024-06-01 06:13+0200\n"
"PO-Revision-Date: 2023-07-01 11:08+0200\n"
"Last-Translator: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
@@ -39,16 +39,16 @@ msgid "pthread_setschedparam"
msgstr "pthread_setschedparam"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
-msgstr "31 octobre 2023"
+msgid "2024-05-02"
+msgstr "2 mai 2024"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable
#, no-wrap
-msgid "Linux man-pages 6.06"
-msgstr "Pages du manuel de Linux 6.06"
+msgid "Linux man-pages 6.8"
+msgstr "Pages du manuel de Linux 6.8"
#. type: SH
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
@@ -585,8 +585,13 @@ msgstr ""
#. type: Plain text
#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "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."
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 ""
@@ -602,7 +607,8 @@ msgid "Program source"
msgstr "Source du programme"
#. 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"
@@ -1481,228 +1487,22 @@ msgstr ""
"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-07-20"
-msgstr "20 juillet 2023"
+msgid "2023-10-31"
+msgstr "31 octobre 2023"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Pages du manuel de Linux 6.05.01"
+msgid "Linux man-pages 6.06"
+msgstr "Pages du manuel de Linux 6.06"
-#. 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"
-msgstr ""
+msgid "Linux man-pages 6.7"
+msgstr "Pages du manuel de Linux 6.7"
#. type: TH
#: opensuse-leap-15-6
@@ -1715,3 +1515,9 @@ msgstr "30 mars 2023"
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Pages du manuel de Linux 6.04"
+
+#. type: TH
+#: opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages (unreleased)"
+msgstr "Pages du manuel de Linux (non publiƩes)"