# 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-03 19:26+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_spin_init" msgstr "pthread_spin_init" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 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_spin_init, pthread_spin_destroy - initialize or destroy a spin lock" msgstr "pthread_spin_init, pthread_spin_destroy - تهيئة أو تدمير قفل دوراني" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX threads library (I,\\ I<-lpthread>)" msgstr "مكتبة مسالك POSIX (I،\\ I<-lpthread>)" #. 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<, int >IB<);>\n" "BIB<);>\n" msgstr "" "BIB<, int >IB<);>\n" "BIB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B(), B():" msgstr "B()، B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid " _POSIX_C_SOURCE E= 200112L\n" msgstr " _POSIX_C_SOURCE E= 200112L\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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I: Most programs should use mutexes instead of spin locks. " "Spin locks are primarily useful in conjunction with real-time scheduling " "policies. See NOTES." msgstr "" "I<ملاحظة عامة>: ينبغي لمعظم البرامج استخدام كواتح الاستبعاد المتبادل بدلاً من " "الأقفال الدورانية. الأقفال الدورانية مفيدة بشكل رئيسي بالاقتران مع سياسات " "جدولة الوقت الحقيقي. انظر الملاحظات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function allocates any resources required for " "the use of the spin lock referred to by I and initializes the lock to " "be in the unlocked state. The I argument must have one of the " "following values:" msgstr "" "تخصص دالة B() أي موارد مطلوبة لاستخدام القفل الدوراني " "المشار إليه بواسطة I وتهيئ القفل ليكون في حالة غير مقفلة. يجب أن تأخذ " "وسيطة I إحدى القيم التالية:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The spin lock is to be operated on only by threads in the same process as " "the thread that calls B(). (Attempting to share the spin " "lock between processes results in undefined behavior.)" msgstr "" "يُشغَّل القفل الدوراني فقط بواسطة خيوط في نفس عملية الخيط الذي يستدعي " "B(). (يؤدي محاولة مشاركة القفل الدوراني بين العمليات إلى " "سلوك غير محدد.)" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The spin lock may be operated on by any thread in any process that has " "access to the memory containing the lock (i.e., the lock may be in a shared " "memory object that is shared among multiple processes)." msgstr "" "يمكن تشغيل القفل الدوراني بواسطة أي خيط في أي عملية لديها وصول إلى الذاكرة " "المحتوية على القفل (أي، قد يكون القفل في كائن ذاكرة مشتركة يُشارك بين عمليات " "متعددة)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Calling B() on a spin lock that has already been " "initialized results in undefined behavior." msgstr "" "يؤدي استدعاء B() على قفل دوراني تمت تهيئته بالفعل إلى " "سلوك غير محدد." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function destroys a previously initialized " "spin lock, freeing any resources that were allocated for that lock. " "Destroying a spin lock that has not been previously been initialized or " "destroying a spin lock while another thread holds the lock results in " "undefined behavior." msgstr "" "تدمر دالة B() قفلاً دورانيًا تمت تهيئته سابقًا، محررة أي " "موارد خُصصت لذلك القفل. يؤدي تدمير قفل دوراني لم تتم تهيئته سابقًا أو تدمير " "قفل دوراني بينما يحمل خيط آخر القفل إلى سلوك غير محدد." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Once a spin lock has been destroyed, performing any operation on the lock " "other than once more initializing it with B() results in " "undefined behavior." msgstr "" "بمجرد تدمير قفل دوراني، يؤدي تنفيذ أي عملية على القفل غير إعادة تهيئته مرة " "أخرى باستخدام B() إلى سلوك غير محدد." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The result of performing operations such as B(3), " "B(3), and B() on I of " "the object referred to by I is undefined." msgstr "" "نتيجة تنفيذ عمليات مثل B(3) وB(3) " "وB() على I<نسخ> من الكائن المشار إليه بواسطة I " "غير محددة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "On success, there functions return zero. On failure, they return an error " "number. In the event that B() fails, the lock is not " "initialized." msgstr "" "عند النجاح، تُرجع هذه الدوال صفرًا. عند الفشل، تُرجع رقم خطأ. في حال فشل " "B()، لا تتم تهيئة القفل." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. These errors don't occur on the glibc implementation #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() may fail with the following errors:" msgstr "قد تفشل B() مع الأخطاء التالية:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The system has insufficient resources to initialize a new spin lock." msgstr "النظام لديه موارد غير كافية لتهيئة قفل دوراني جديد." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Insufficient memory to initialize the spin lock." msgstr "ذاكرة غير كافية لتهيئة القفل الدوراني." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.2. POSIX.1-2001." msgstr "glibc 2.2. POSIX.1-2001." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Support for process-shared spin locks is a POSIX option. The option is " "supported in the glibc implementation." msgstr "" "دعم الأقفال الدورانية المشتركة بين العمليات هو خيار POSIX. هذا الخيار مدعوم " "في تنفيذ glibc." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Spin locks should be employed in conjunction with real-time scheduling " "policies (B, or possibly B). Use of spin locks with " "nondeterministic scheduling policies such as B probably " "indicates a design mistake. The problem is that if a thread operating under " "such a policy is scheduled off the CPU while it holds a spin lock, then " "other threads will waste time spinning on the lock until the lock holder is " "once more rescheduled and releases the lock." msgstr "" "ينبغي استخدام الأقفال الدورانية بالاقتران مع سياسات جدولة الوقت الحقيقي " "(B، أو ربما B). استخدام الأقفال الدورانية مع سياسات " "جدولة غير حتمية مثل B يشير غالبًا إلى خطأ في التصميم. المشكلة هي " "أنه إذا جُدول خيط يعمل تحت هذه السياسة خارج وحدة المعالجة المركزية بينما يحمل " "قفلاً دورانيًا، فإن خيوطًا أخرى ستضيع وقتًا في الدوران على القفل حتى يُعاد جدولة " "حامل القفل مرة أخرى ويُحرر القفل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If threads create a deadlock situation while employing spin locks, those " "threads will spin forever consuming CPU time." msgstr "" "إذا أنشأت الخيوط حالة طريق مسدود أثناء استخدام الأقفال الدورانية، فإن تلك " "الخيوط ستدور إلى الأبد مستهلكة وقت وحدة المعالجة المركزية." #. FIXME . When PTHREAD_MUTEX_ADAPTIVE_NP is one day document #. make reference to it here #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "User-space spin locks are I applicable as a general locking solution. " "They are, by definition, prone to priority inversion and unbounded spin " "times. A programmer using spin locks must be exceptionally careful not only " "in the code, but also in terms of system configuration, thread placement, " "and priority assignment." msgstr "" "الأقفال الدورانية في مساحة المستخدم I<ليست> قابلة للتطبيق كحل إقفال عام. هي، " "بحكم تعريفها، عرضة لانعكاس الأولوية وأوقات دوران غير محدودة. يجب على المبرمج " "الذي يستخدم الأقفال الدورانية أن يكون حريصًا بشكل استثنائي ليس فقط في الكود، " "ولكن أيضًا من حيث تكوين النظام ووضع الخيوط وتعيين الأولويات." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(3), B(3), B(3), " "B(3), B(7)" msgstr "" "B(3)، B(3)، B(3)، " "B(3)، B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "POSIX threads library (I, I<-lpthread>)" msgstr "مكتبة مسالك POSIX (I، I<-lpthread>)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"