# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:38+0200\n" "PO-Revision-Date: 2026-06-02 20:01+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "pthread_cond_init" msgstr "pthread_cond_init" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-03-22" msgstr "22 مارس 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "pthread_cond_init, pthread_cond_signal, pthread_cond_broadcast, " "pthread_cond_wait, pthread_cond_timedwait, pthread_cond_destroy - operations " "on conditions" msgstr "" "pthread_cond_init, pthread_cond_signal, pthread_cond_broadcast, " "pthread_cond_wait, pthread_cond_timedwait, pthread_cond_destroy - عمليات على " "الشروط" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Epthread.hE>\n" msgstr "B<#include Epthread.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB< = PTHREAD_COND_INITIALIZER;>\n" msgstr "BIB< = PTHREAD_COND_INITIALIZER;>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< pthread_condattr_t *>IB<);>\n" "BIB<);>\n" "BIB<);>\n" "BIB<, pthread_mutex_t *>IB<);>\n" "BIB<, pthread_mutex_t *>IB<,>\n" "B< const struct timespec *>IB<);>\n" "BIB<);>\n" msgstr "" "BIB<,>\n" "B< pthread_condattr_t *>IB<);>\n" "BIB<);>\n" "BIB<);>\n" "BIB<, pthread_mutex_t *>IB<);>\n" "BIB<, pthread_mutex_t *>IB<,>\n" "B< const struct timespec *>IB<);>\n" "BIB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "A condition (short for \"condition variable\") is a synchronization device " "that allows threads to suspend execution and relinquish the processors until " "some predicate on shared data is satisfied. The basic operations on " "conditions are: signal the condition (when the predicate becomes true), and " "wait for the condition, suspending the thread execution until another thread " "signals the condition." msgstr "" "الشرط (اختصار \"متغير الشرط\") هو أداة تزامن تسمح للخيوط بتعليق التنفيذ " "والتخلي عن المعالجات حتى يُستوفى بعض المسند على البيانات المشتركة. العمليات " "الأساسية على الشروط هي: الإشارة إلى الشرط (عندما يصبح المسند صحيحًا)، " "والانتظار للشرط، مع تعليق تنفيذ الخيط حتى يشير خيط آخر إلى الشرط." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 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 " "another thread signals the condition just before the first thread actually " "waits on it." msgstr "" "يجب دائمًا ربط متغير الشرط مع كائن المزامنة (mutex)، لتجنب حالة السباق حيث " "يُحضر خيط للانتظار على متغير شرط ويشير خيط آخر إلى الشرط قبل أن ينتظر الخيط " "الأول عليه فعليًا." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() initializes the condition variable I, using " "the condition attributes specified in I, or default attributes if " "I is NULL. The LinuxThreads implementation supports no " "attributes for conditions, hence the I parameter is actually " "ignored." msgstr "" "تهيئ الدالة B() متغير الشرط I، باستخدام سمات الشرط " "المحددة في I، أو السمات المبدئية إذا كان I فارغًا " "(NULL). لا يدعم تطبيق LinuxThreads أي سمات للشروط، وبالتالي يُتجاهل معامل " "I فعليًا." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Variables of type I can also be initialized statically, " "using the constant B." msgstr "" "يمكن أيضًا تهيئة متغيرات من النوع I بشكل ثابت، باستخدام " "الثابت B." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() restarts one of the threads that are waiting on " "the condition variable I. If no threads are waiting on I, " "nothing happens. If several threads are waiting on I, exactly one is " "restarted, but it is not specified which." msgstr "" "تعيد الدالة B() تشغيل أحد الخيوط المنتظرة على متغير " "الشرط I. إذا لم تكن أي خيوط تنتظر على I، لا يحدث شيء. إذا كانت " "عدة خيوط تنتظر على I، يُعاد تشغيل واحد منها بالضبط، ولكن لا يُحدد أي " "منها." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() restarts all the threads that are waiting on " "the condition variable I. Nothing happens if no threads are waiting " "on I." msgstr "" "تعيد الدالة B() تشغيل جميع الخيوط المنتظرة على متغير " "الشرط I. لا يحدث شيء إذا لم تكن أي خيوط تنتظر على I." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() atomically unlocks the I (as per " "B()) and waits for the condition variable I to " "be signaled. The thread execution is suspended and does not consume any CPU " "time until the condition variable is signaled. The I must be locked " "by the calling thread on entrance to B(). Before " "returning to the calling thread, B() re-acquires " "I (as per B())." msgstr "" "تفتح الدالة B() كائن المزامنة I بشكل ذري (وفقًا لـ " "B()) وتنتظر الإشارة إلى متغير الشرط I. يُعلق " "تنفيذ الخيط ولا يستهلك أي وقت من وحدة المعالجة المركزية حتى يُشار إلى متغير " "الشرط. يجب أن يكون I مقفلاً بواسطة الخيط المستدعي عند الدخول إلى " "B(). قبل العودة إلى الخيط المستدعي، تستعيد " "B() I (وفقًا لـ B())." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: 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 " "the condition, this guarantees that the condition cannot be signaled (and " "thus ignored) between the time a thread locks the mutex and the time it " "waits on the condition variable. See CAVEATS below." msgstr "" "يتم فتح كائن المزامنة والتعليق على متغير الشرط بشكل ذري. وبالتالي، إذا حصلت " "جميع الخيوط دائمًا على كائن المزامنة قبل الإشارة إلى الشرط، فهذا يضمن عدم " "إمكانية الإشارة إلى الشرط (وبالتالي تجاهله) بين الوقت الذي يقفل فيه الخيط " "كائن المزامنة والوقت الذي ينتظر فيه على متغير الشرط. انظر التحذيرات أدناه." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() atomically unlocks I and waits on " "I, as B() does, but it also bounds the duration of " "the wait. If I has not been signaled within the amount of time " "specified by I, the mutex I is re-acquired and " "B() returns the error B. The I " "parameter specifies an absolute time, with the same origin as B