Debian Codegraph @

po/ar/man3/pthread_spin_init.3.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
9 "PO-Revision-Date: 2026-06-03 19:26+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "pthread_spin_init"
25 msgstr "pthread_spin_init"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "الاسم"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid ""
51 "pthread_spin_init, pthread_spin_destroy - initialize or destroy a spin lock"
52 msgstr "pthread_spin_init, pthread_spin_destroy - تهيئة أو تدمير قفل دوراني"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "المكتبة"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
65 msgstr "مكتبة مسالك POSIX (I<libpthread>،\\ I<-lpthread>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "موجز"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>pthread.hE<gt>>\n"
79 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int pthread_spin_init(pthread_spinlock_t *>I<lock>B<, int >I<pshared>B<);>\n"
87 "B<int pthread_spin_destroy(pthread_spinlock_t *>I<lock>B<);>\n"
88 msgstr ""
89 "B<int pthread_spin_init(pthread_spinlock_t *>I<lock>B<, int >I<pshared>B<);>\n"
90 "B<int pthread_spin_destroy(pthread_spinlock_t *>I<lock>B<);>\n"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
97 msgstr ""
98 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<pthread_spin_init>(), B<pthread_spin_destroy>():"
104 msgstr "B<pthread_spin_init>()، B<pthread_spin_destroy>():"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid " _POSIX_C_SOURCE E<gt>= 200112L\n"
111 msgstr " _POSIX_C_SOURCE E<gt>= 200112L\n"
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr "الوصف"
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "I<General note>: Most programs should use mutexes instead of spin locks. "
125 "Spin locks are primarily useful in conjunction with real-time scheduling "
126 "policies. See NOTES."
127 msgstr ""
128 "I<ملاحظة عامة>: ينبغي لمعظم البرامج استخدام كواتح الاستبعاد المتبادل بدلاً من "
129 "الأقفال الدورانية. الأقفال الدورانية مفيدة بشكل رئيسي بالاقتران مع سياسات "
130 "جدولة الوقت الحقيقي. انظر الملاحظات."
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The B<pthread_spin_init>() function allocates any resources required for "
137 "the use of the spin lock referred to by I<lock> and initializes the lock to "
138 "be in the unlocked state. The I<pshared> argument must have one of the "
139 "following values:"
140 msgstr ""
141 "تخصص دالة B<pthread_spin_init>() أي موارد مطلوبة لاستخدام القفل الدوراني "
142 "المشار إليه بواسطة I<lock> وتهيئ القفل ليكون في حالة غير مقفلة. يجب أن تأخذ "
143 "وسيطة I<pshared> إحدى القيم التالية:"
144
145 #. type: TP
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "B<PTHREAD_PROCESS_PRIVATE>"
150 msgstr "B<PTHREAD_PROCESS_PRIVATE>"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The spin lock is to be operated on only by threads in the same process as "
157 "the thread that calls B<pthread_spin_init>(). (Attempting to share the spin "
158 "lock between processes results in undefined behavior.)"
159 msgstr ""
160 "يُشغَّل القفل الدوراني فقط بواسطة خيوط في نفس عملية الخيط الذي يستدعي "
161 "B<pthread_spin_init>(). (يؤدي محاولة مشاركة القفل الدوراني بين العمليات إلى "
162 "سلوك غير محدد.)"
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<PTHREAD_PROCESS_SHARED>"
169 msgstr "B<PTHREAD_PROCESS_SHARED>"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The spin lock may be operated on by any thread in any process that has "
176 "access to the memory containing the lock (i.e., the lock may be in a shared "
177 "memory object that is shared among multiple processes)."
178 msgstr ""
179 "يمكن تشغيل القفل الدوراني بواسطة أي خيط في أي عملية لديها وصول إلى الذاكرة "
180 "المحتوية على القفل (أي، قد يكون القفل في كائن ذاكرة مشتركة يُشارك بين عمليات "
181 "متعددة)."
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "Calling B<pthread_spin_init>() on a spin lock that has already been "
188 "initialized results in undefined behavior."
189 msgstr ""
190 "يؤدي استدعاء B<pthread_spin_init>() على قفل دوراني تمت تهيئته بالفعل إلى "
191 "سلوك غير محدد."
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "The B<pthread_spin_destroy>() function destroys a previously initialized "
198 "spin lock, freeing any resources that were allocated for that lock. "
199 "Destroying a spin lock that has not been previously been initialized or "
200 "destroying a spin lock while another thread holds the lock results in "
201 "undefined behavior."
202 msgstr ""
203 "تدمر دالة B<pthread_spin_destroy>() قفلاً دورانيًا تمت تهيئته سابقًا، محررة أي "
204 "موارد خُصصت لذلك القفل. يؤدي تدمير قفل دوراني لم تتم تهيئته سابقًا أو تدمير "
205 "قفل دوراني بينما يحمل خيط آخر القفل إلى سلوك غير محدد."
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "Once a spin lock has been destroyed, performing any operation on the lock "
212 "other than once more initializing it with B<pthread_spin_init>() results in "
213 "undefined behavior."
214 msgstr ""
215 "بمجرد تدمير قفل دوراني، يؤدي تنفيذ أي عملية على القفل غير إعادة تهيئته مرة "
216 "أخرى باستخدام B<pthread_spin_init>() إلى سلوك غير محدد."
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The result of performing operations such as B<pthread_spin_lock>(3), "
223 "B<pthread_spin_unlock>(3), and B<pthread_spin_destroy>() on I<copies> of "
224 "the object referred to by I<lock> is undefined."
225 msgstr ""
226 "نتيجة تنفيذ عمليات مثل B<pthread_spin_lock>(3) وB<pthread_spin_unlock>(3) "
227 "وB<pthread_spin_destroy>() على I<نسخ> من الكائن المشار إليه بواسطة I<lock> "
228 "غير محددة."
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "RETURN VALUE"
235 msgstr "قيمة الإرجاع"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "On success, there functions return zero. On failure, they return an error "
242 "number. In the event that B<pthread_spin_init>() fails, the lock is not "
243 "initialized."
244 msgstr ""
245 "عند النجاح، تُرجع هذه الدوال صفرًا. عند الفشل، تُرجع رقم خطأ. في حال فشل "
246 "B<pthread_spin_init>()، لا تتم تهيئة القفل."
247
248 #. type: SH
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "ERRORS"
253 msgstr "الأخطاء"
254
255 #. These errors don't occur on the glibc implementation
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "B<pthread_spin_init>() may fail with the following errors:"
260 msgstr "قد تفشل B<pthread_spin_init>() مع الأخطاء التالية:"
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<EAGAIN>"
267 msgstr "B<EAGAIN>"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid "The system has insufficient resources to initialize a new spin lock."
273 msgstr "النظام لديه موارد غير كافية لتهيئة قفل دوراني جديد."
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<ENOMEM>"
280 msgstr "B<ENOMEM>"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "Insufficient memory to initialize the spin lock."
286 msgstr "ذاكرة غير كافية لتهيئة القفل الدوراني."
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "STANDARDS"
293 msgstr "المعايير"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "POSIX.1-2008."
299 msgstr "POSIX.1-2008."
300
301 #. type: SH
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "HISTORY"
306 msgstr "التاريخ"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "glibc 2.2. POSIX.1-2001."
312 msgstr "glibc 2.2. POSIX.1-2001."
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "Support for process-shared spin locks is a POSIX option. The option is "
319 "supported in the glibc implementation."
320 msgstr ""
321 "دعم الأقفال الدورانية المشتركة بين العمليات هو خيار POSIX. هذا الخيار مدعوم "
322 "في تنفيذ glibc."
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "NOTES"
329 msgstr "ملاحظات"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid ""
335 "Spin locks should be employed in conjunction with real-time scheduling "
336 "policies (B<SCHED_FIFO>, or possibly B<SCHED_RR>). Use of spin locks with "
337 "nondeterministic scheduling policies such as B<SCHED_OTHER> probably "
338 "indicates a design mistake. The problem is that if a thread operating under "
339 "such a policy is scheduled off the CPU while it holds a spin lock, then "
340 "other threads will waste time spinning on the lock until the lock holder is "
341 "once more rescheduled and releases the lock."
342 msgstr ""
343 "ينبغي استخدام الأقفال الدورانية بالاقتران مع سياسات جدولة الوقت الحقيقي "
344 "(B<SCHED_FIFO>، أو ربما B<SCHED_RR>). استخدام الأقفال الدورانية مع سياسات "
345 "جدولة غير حتمية مثل B<SCHED_OTHER> يشير غالبًا إلى خطأ في التصميم. المشكلة هي "
346 "أنه إذا جُدول خيط يعمل تحت هذه السياسة خارج وحدة المعالجة المركزية بينما يحمل "
347 "قفلاً دورانيًا، فإن خيوطًا أخرى ستضيع وقتًا في الدوران على القفل حتى يُعاد جدولة "
348 "حامل القفل مرة أخرى ويُحرر القفل."
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "If threads create a deadlock situation while employing spin locks, those "
355 "threads will spin forever consuming CPU time."
356 msgstr ""
357 "إذا أنشأت الخيوط حالة طريق مسدود أثناء استخدام الأقفال الدورانية، فإن تلك "
358 "الخيوط ستدور إلى الأبد مستهلكة وقت وحدة المعالجة المركزية."
359
360 #. FIXME . When PTHREAD_MUTEX_ADAPTIVE_NP is one day document
361 #. make reference to it here
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid ""
366 "User-space spin locks are I<not> applicable as a general locking solution. "
367 "They are, by definition, prone to priority inversion and unbounded spin "
368 "times. A programmer using spin locks must be exceptionally careful not only "
369 "in the code, but also in terms of system configuration, thread placement, "
370 "and priority assignment."
371 msgstr ""
372 "الأقفال الدورانية في مساحة المستخدم I<ليست> قابلة للتطبيق كحل إقفال عام. هي، "
373 "بحكم تعريفها، عرضة لانعكاس الأولوية وأوقات دوران غير محدودة. يجب على المبرمج "
374 "الذي يستخدم الأقفال الدورانية أن يكون حريصًا بشكل استثنائي ليس فقط في الكود، "
375 "ولكن أيضًا من حيث تكوين النظام ووضع الخيوط وتعيين الأولويات."
376
377 #. type: SH
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "SEE ALSO"
382 msgstr "انظر أيضًا"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "B<pthread_mutex_init>(3), B<pthread_mutex_lock>(3), B<pthread_spin_lock>(3), "
389 "B<pthread_spin_unlock>(3), B<pthreads>(7)"
390 msgstr ""
391 "B<pthread_mutex_init>(3)، B<pthread_mutex_lock>(3)، B<pthread_spin_lock>(3)، "
392 "B<pthread_spin_unlock>(3)، B<pthreads>(7)"
393
394 #. type: TH
395 #: debian-trixie
396 #, no-wrap
397 msgid "2024-05-02"
398 msgstr "2 مايو 2024"
399
400 #. type: TH
401 #: debian-trixie
402 #, no-wrap
403 msgid "Linux man-pages 6.9.1"
404 msgstr "صفحات دليل لينكس 6.9.1"
405
406 #. type: Plain text
407 #: debian-trixie
408 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
409 msgstr "مكتبة مسالك POSIX (I<libpthread>، I<-lpthread>)"
410
411 #. type: TH
412 #: fedora-44 fedora-rawhide
413 #, no-wrap
414 msgid "2024-07-23"
415 msgstr "23 يوليو 2024"
416
417 #. type: TH
418 #: fedora-44 fedora-rawhide
419 #, no-wrap
420 msgid "Linux man-pages 6.13"
421 msgstr "صفحات دليل لينكس 6.13"
422
423 #. type: TH
424 #: mageia-cauldron
425 #, no-wrap
426 msgid "Linux man-pages 6.17"
427 msgstr "صفحات دليل لينكس 6.17"
428
429 #. type: TH
430 #: opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "Linux man-pages (unreleased)"
433 msgstr "صفحات دليل لينكس (لم تصدر بعد)"