diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 10:52:03 +0000 |
commit | 932e4432596447eb9331cc2a2bb74a26a35b4efc (patch) | |
tree | 95161711ea07fd64f0c82d6e7943024c033dd5a8 /templates/man3/pthread_cond_init.3.pot | |
parent | Adding debian version 4.22.0-1. (diff) | |
download | manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.tar.xz manpages-l10n-932e4432596447eb9331cc2a2bb74a26a35b4efc.zip |
Merging upstream version 4.23.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'templates/man3/pthread_cond_init.3.pot')
-rw-r--r-- | templates/man3/pthread_cond_init.3.pot | 266 |
1 files changed, 174 insertions, 92 deletions
diff --git a/templates/man3/pthread_cond_init.3.pot b/templates/man3/pthread_cond_init.3.pot index c529a47e..cca6ff57 100644 --- a/templates/man3/pthread_cond_init.3.pot +++ b/templates/man3/pthread_cond_init.3.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2024-03-01 17:04+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" @@ -17,32 +17,34 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed #, no-wrap msgid "pthread_cond_init" msgstr "" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-10-31" +msgid "2024-05-19" 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 #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "pthread_cond_init, pthread_cond_signal, pthread_cond_broadcast, " "pthread_cond_wait, pthread_cond_timedwait, pthread_cond_destroy - operations " @@ -51,44 +53,47 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text -#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron -msgid "B<#include E<lt>pthread.hE<gt>>" +#: archlinux debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "B<#include E<lt>pthread.hE<gt>>\n" msgstr "" #. type: Plain text -#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron -msgid "B<pthread_cond_t >I<cond>B< = PTHREAD_COND_INITIALIZER;>" +#: archlinux debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "B<pthread_cond_t >I<cond>B< = PTHREAD_COND_INITIALIZER;>\n" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed +#, no-wrap msgid "" -"B<int pthread_cond_init(pthread_cond_t *>I<cond>B<, pthread_condattr_t " -"*>I<cond_attr>B<);> B<int pthread_cond_signal(pthread_cond_t *>I<cond>B<);> " -"B<int pthread_cond_broadcast(pthread_cond_t *>I<cond>B<);> B<int " -"pthread_cond_wait(pthread_cond_t *>I<cond>B<, pthread_mutex_t *>I<mutex>B<);" -"> B<int pthread_cond_timedwait(pthread_cond_t *>I<cond>B<, pthread_mutex_t " -"*>I<mutex>B<, const struct timespec *>I<abstime>B<);> B<int " -"pthread_cond_destroy(pthread_cond_t *>I<cond>B<);>" +"B<int pthread_cond_init(pthread_cond_t *>I<cond>B<,>\n" +"B< pthread_condattr_t *>I<cond_attr>B<);>\n" +"B<int pthread_cond_signal(pthread_cond_t *>I<cond>B<);>\n" +"B<int pthread_cond_broadcast(pthread_cond_t *>I<cond>B<);>\n" +"B<int pthread_cond_wait(pthread_cond_t *>I<cond>B<, pthread_mutex_t *>I<mutex>B<);>\n" +"B<int pthread_cond_timedwait(pthread_cond_t *>I<cond>B<, pthread_mutex_t *>I<mutex>B<,>\n" +"B< const struct timespec *>I<abstime>B<);>\n" +"B<int pthread_cond_destroy(pthread_cond_t *>I<cond>B<);>\n" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "A condition (short for ``condition variable'') is a synchronization device " "that allows threads to suspend execution and relinquish the processors until " @@ -100,7 +105,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "A condition variable must always be associated with a mutex, to avoid the " "race condition where a thread prepares to wait on a condition variable and " @@ -109,7 +114,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_init> initializes the condition variable I<cond>, using the " "condition attributes specified in I<cond_attr>, or default attributes if " @@ -120,14 +126,15 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "Variables of type B<pthread_cond_t> can also be initialized statically, " "using the constant B<PTHREAD_COND_INITIALIZER>." msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_signal> restarts one of the threads that are waiting on the " "condition variable I<cond>. If no threads are waiting on I<cond>, nothing " @@ -136,7 +143,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_broadcast> restarts all the threads that are waiting on the " "condition variable I<cond>. Nothing happens if no threads are waiting on " @@ -144,7 +152,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_wait> atomically unlocks the I<mutex> (as per " "B<pthread_unlock_mutex>) and waits for the condition variable I<cond> to be " @@ -156,7 +165,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "Unlocking the mutex and suspending on the condition variable is done " "atomically. Thus, if all threads always acquire the mutex before signaling " @@ -166,7 +176,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_timedwait> atomically unlocks I<mutex> and waits on I<cond>, " "as B<pthread_cond_wait> does, but it also bounds the duration of the wait. " @@ -178,7 +189,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "B<pthread_cond_destroy> destroys a condition variable, freeing the resources " "it might hold. No threads must be waiting on the condition variable on " @@ -190,31 +202,32 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "CANCELLATION" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-rawhide opensuse-tumbleweed msgid "" -"B<pthread_cond_wait> and B<pthread_cond_timedwait> are cancellation points. " +"B<pthread_cond_wait> and B<pthread_cond_timedwait> are cancelation points. " "If a thread is cancelled while suspended in one of these functions, the " "thread immediately resumes execution, then locks again the I<mutex> argument " "to B<pthread_cond_wait> and B<pthread_cond_timedwait>, and finally executes " -"the cancellation. Consequently, cleanup handlers are assured that I<mutex> " +"the cancelation. Consequently, cleanup handlers are assured that I<mutex> " "is locked when they are called." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "ASYNC-SIGNAL SAFETY" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "The condition functions are not async-signal safe, and should not be called " "from a signal handler. In particular, calling B<pthread_cond_signal> or " @@ -224,14 +237,14 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "All condition variable functions return 0 on success and a non-zero error " "code on error." @@ -239,14 +252,14 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_cond_init>, B<pthread_cond_signal>, B<pthread_cond_broadcast>, and " "B<pthread_cond_wait> never return an error code." @@ -254,7 +267,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "The B<pthread_cond_timedwait> function returns the following error codes on " "error:" @@ -262,13 +275,14 @@ msgstr "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "B<ETIMEDOUT>" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "The condition variable was not signaled until the timeout specified by " "I<abstime>." @@ -276,19 +290,20 @@ msgstr "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "B<EINTR>" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "B<pthread_cond_timedwait> was interrupted by a signal." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "The B<pthread_cond_destroy> function returns the following error code on " "error:" @@ -296,26 +311,27 @@ msgstr "" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "B<EBUSY>" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "Some threads are currently waiting on I<cond>." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "B<pthread_condattr_init>(3), B<pthread_mutex_lock>(3), " "B<pthread_mutex_unlock>(3), B<gettimeofday>(2), B<nanosleep>(2)." @@ -323,14 +339,14 @@ msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "EXAMPLE" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "Consider two shared variables I<x> and I<y>, protected by the mutex I<mut>, " "and a condition variable I<cond> that is to be signaled whenever I<x> " @@ -339,7 +355,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "" "B<int x,y;\n" @@ -349,13 +365,13 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "Waiting until I<x> is greater than I<y> is performed as follows:" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "" "B<pthread_mutex_lock(&mut);\n" @@ -368,7 +384,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed msgid "" "Modifications on I<x> and I<y> that may cause I<x> to become greater than " "I<y> should signal the condition if needed:" @@ -376,7 +392,7 @@ msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide -#: mageia-cauldron +#: mageia-cauldron opensuse-tumbleweed #, no-wrap msgid "" "B<pthread_mutex_lock(&mut);\n" @@ -386,7 +402,8 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "If it can be proved that at most one waiting thread needs to be waken up " "(for instance, if there are only two threads communicating through I<x> and " @@ -396,13 +413,15 @@ msgid "" msgstr "" #. type: Plain text -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed msgid "" "To wait for I<x> to become greater than I<y> with a timeout of 5 seconds, do:" 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 "" "B<struct timeval now;\n" @@ -426,19 +445,19 @@ msgid "" msgstr "" #. type: TH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "PTHREAD_COND" msgstr "" #. type: TH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "LinuxThreads" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "pthread_cond_init, pthread_cond_destroy, pthread_cond_signal, " "pthread_cond_broadcast, pthread_cond_wait, pthread_cond_timedwait - " @@ -446,43 +465,53 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm fedora-40 fedora-rawhide mageia-cauldron +msgid "B<#include E<lt>pthread.hE<gt>>" +msgstr "" + +#. type: Plain text +#: debian-bookworm fedora-40 fedora-rawhide mageia-cauldron +msgid "B<pthread_cond_t >I<cond>B< = PTHREAD_COND_INITIALIZER;>" +msgstr "" + +#. type: Plain text +#: debian-bookworm msgid "" "B<int pthread_cond_init(pthread_cond_t *>I<cond>B<, pthread_condattr_t " "*>I<cond_attr>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<int pthread_cond_signal(pthread_cond_t *>I<cond>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<int pthread_cond_broadcast(pthread_cond_t *>I<cond>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<int pthread_cond_wait(pthread_cond_t *>I<cond>B<, pthread_mutex_t " "*>I<mutex>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<int pthread_cond_timedwait(pthread_cond_t *>I<cond>B<, pthread_mutex_t " "*>I<mutex>B<, const struct timespec *>I<abstime>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<int pthread_cond_destroy(pthread_cond_t *>I<cond>B<);>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "A condition (short for ``condition variable'') is a synchronization device " "that allows threads to suspend execution and relinquish the processors until " @@ -493,7 +522,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_init> initializes the condition variable I<cond>, using the " "condition attributes specified in I<cond_attr>, or default attributes if " @@ -503,7 +532,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_signal> restarts one of the threads that are waiting on the " "condition variable I<cond>. If no threads are waiting on I<cond>, nothing " @@ -512,7 +541,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_broadcast> restarts all the threads that are waiting on the " "condition variable I<cond>. Nothing happens if no threads are waiting on " @@ -520,7 +549,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_wait> atomically unlocks the I<mutex> (as per " "B<pthread_unlock_mutex>) and waits for the condition variable I<cond> to be " @@ -532,7 +561,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "Unlocking the mutex and suspending on the condition variable is done " "atomically. Thus, if all threads always acquire the mutex before signaling " @@ -542,7 +571,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_timedwait> atomically unlocks I<mutex> and waits on I<cond>, " "as B<pthread_cond_wait> does, but it also bounds the duration of the wait. " @@ -554,7 +583,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_destroy> destroys a condition variable, freeing the resources " "it might hold. No threads must be waiting on the condition variable on " @@ -565,7 +594,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "B<pthread_cond_wait> and B<pthread_cond_timedwait> are cancellation points. " "If a thread is cancelled while suspended in one of these functions, the " @@ -576,7 +605,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "The condition functions are not async-signal safe, and should not be called " "from a signal handler. In particular, calling B<pthread_cond_signal> or " @@ -585,35 +614,35 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "the condition variable was not signaled until the timeout specified by " "I<abstime>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "B<pthread_cond_timedwait> was interrupted by a signal" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "some threads are currently waiting on I<cond>." msgstr "" #. type: SH -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "AUTHOR" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "Xavier Leroy E<lt>Xavier.Leroy@inria.frE<gt>" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "If it can be proved that at most one waiting thread needs to be waken up " "(for instance, if there are only two threads communicating through I<x> and " @@ -623,14 +652,14 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm msgid "" "To wait for I<x> to becomes greater than I<y> with a timeout of 5 seconds, " "do:" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B<struct timeval now;\n" @@ -639,7 +668,7 @@ msgid "" msgstr "" #. type: Plain text -#: debian-bookworm debian-unstable +#: debian-bookworm #, no-wrap msgid "" "B<pthread_mutex_lock(&mut);\n" @@ -657,3 +686,56 @@ msgid "" "}\n" "pthread_mutex_unlock(&mut);>\n" msgstr "" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "" + +#. type: Plain text +#: fedora-40 fedora-rawhide mageia-cauldron +msgid "" +"B<int pthread_cond_init(pthread_cond_t *>I<cond>B<, pthread_condattr_t " +"*>I<cond_attr>B<);> B<int pthread_cond_signal(pthread_cond_t *>I<cond>B<);> " +"B<int pthread_cond_broadcast(pthread_cond_t *>I<cond>B<);> B<int " +"pthread_cond_wait(pthread_cond_t *>I<cond>B<, pthread_mutex_t *>I<mutex>B<);" +"> B<int pthread_cond_timedwait(pthread_cond_t *>I<cond>B<, pthread_mutex_t " +"*>I<mutex>B<, const struct timespec *>I<abstime>B<);> B<int " +"pthread_cond_destroy(pthread_cond_t *>I<cond>B<);>" +msgstr "" + +#. type: Plain text +#: fedora-40 mageia-cauldron +msgid "" +"B<pthread_cond_wait> and B<pthread_cond_timedwait> are cancellation points. " +"If a thread is cancelled while suspended in one of these functions, the " +"thread immediately resumes execution, then locks again the I<mutex> argument " +"to B<pthread_cond_wait> and B<pthread_cond_timedwait>, and finally executes " +"the cancellation. Consequently, cleanup handlers are assured that I<mutex> " +"is locked when they are called." +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "2024-02-26" +msgstr "" + +#. type: TH +#: fedora-rawhide +#, no-wrap +msgid "Linux man-pages 6.7" +msgstr "" + +#. type: TH +#: opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages (unreleased)" +msgstr "" |