Debian Codegraph @

po/ar/man3/pthread_setcancelstate.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 06:42+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_setcancelstate"
25 msgstr "pthread_setcancelstate"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 مايو 2025"
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_setcancelstate, pthread_setcanceltype - set cancelability state and "
52 "type"
53 msgstr ""
54 "pthread_setcancelstate, pthread_setcanceltype - ضبط حالة ونوع قابلية الإلغاء"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "المكتبة"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
67 msgstr "مكتبة مسالك POSIX (I<libpthread>،\\ I<-lpthread>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "موجز"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>pthread.hE<gt>>\n"
81 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<int pthread_setcancelstate(int >I<state>B<, int *>I<oldstate>B<);>\n"
89 "B<int pthread_setcanceltype(int >I<type>B<, int *>I<oldtype>B<);>\n"
90 msgstr ""
91 "B<int pthread_setcancelstate(int >I<state>B<, int *>I<oldstate>B<);>\n"
92 "B<int pthread_setcanceltype(int >I<type>B<, int *>I<oldtype>B<);>\n"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "الوصف"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "The B<pthread_setcancelstate>() sets the cancelability state of the calling "
106 "thread to the value given in I<state>. The previous cancelability state of "
107 "the thread is returned in the buffer pointed to by I<oldstate>. The "
108 "I<state> argument must have one of the following values:"
109 msgstr ""
110 "تضبط الدالة B<pthread_setcancelstate>() حالة قابلية الإلغاء للخيط المستدعي "
111 "إلى القيمة المُعطاة في I<state>. تُعاد حالة قابلية الإلغاء السابقة للخيط في "
112 "المخزن المؤقت المُشار إليه بـ I<oldstate>. يجب أن تحتوي وسيطة I<state> على "
113 "إحدى القيم التالية:"
114
115 #. type: TP
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid "B<PTHREAD_CANCEL_ENABLE>"
120 msgstr "B<PTHREAD_CANCEL_ENABLE>"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The thread is cancelable. This is the default cancelability state in all "
127 "new threads, including the initial thread. The thread's cancelability type "
128 "determines when a cancelable thread will respond to a cancelation request."
129 msgstr ""
130 "الخيط قابل للإلغاء. هذه هي حالة قابلية الإلغاء المبدئية في جميع الخيوط "
131 "الجديدة، بما في ذلك الخيط الرئيس. يحدد نوع قابلية إلغاء الخيط متى سيستجيب "
132 "خيط قابل للإلغاء لطلب إلغاء."
133
134 #. type: TP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "B<PTHREAD_CANCEL_DISABLE>"
139 msgstr "B<PTHREAD_CANCEL_DISABLE>"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "The thread is not cancelable. If a cancelation request is received, it is "
146 "blocked until cancelability is enabled."
147 msgstr ""
148 "الخيط غير قابل للإلغاء. إذا وُرد طلب إلغاء، يُحجب حتى تُفعّل قابلية الإلغاء."
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "The B<pthread_setcanceltype>() sets the cancelability type of the calling "
155 "thread to the value given in I<type>. The previous cancelability type of "
156 "the thread is returned in the buffer pointed to by I<oldtype>. The I<type> "
157 "argument must have one of the following values:"
158 msgstr ""
159 "تضبط الدالة B<pthread_setcanceltype>() نوع قابلية الإلغاء للخيط المستدعي إلى "
160 "القيمة المُعطاة في I<type>. يُعاد نوع قابلية الإلغاء السابق للخيط في المخزن "
161 "المؤقت المُشار إليه بـ I<oldtype>. يجب أن تحتوي وسيطة I<type> على إحدى القيم "
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_CANCEL_DEFERRED>"
169 msgstr "B<PTHREAD_CANCEL_DEFERRED>"
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 "A cancelation request is deferred until the thread next calls a function "
176 "that is a cancelation point (see B<pthreads>(7)). This is the default "
177 "cancelability type in all new threads, including the initial thread."
178 msgstr ""
179 "يُؤجّل طلب الإلغاء حتى يستدعي الخيط بعد ذلك دالة تمثل نقطة إلغاء (انظر "
180 "B<pthreads>(7)). هذا هو نوع قابلية الإلغاء المبدئي في جميع الخيوط الجديدة، "
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 "Even with deferred cancelation, a cancelation point in an asynchronous "
188 "signal handler may still be acted upon and the effect is as if it was an "
189 "asynchronous cancelation."
190 msgstr ""
191 "حتى مع الإلغاء المؤجل، قد يُعمل بنقطة إلغاء في معالج إشارة غير متزامن ويكون "
192 "التأثير كما لو كان إلغاءً غير متزامن."
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<PTHREAD_CANCEL_ASYNCHRONOUS>"
199 msgstr "B<PTHREAD_CANCEL_ASYNCHRONOUS>"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "The thread can be canceled at any time. (Typically, it will be canceled "
206 "immediately upon receiving a cancelation request, but the system doesn't "
207 "guarantee this.)"
208 msgstr ""
209 "يمكن إلغاء الخيط في أي وقت. (عادةً، يُلغى فور استلام طلب إلغاء، لكن النظام لا "
210 "يضمن ذلك.)"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "The set-and-get operation performed by each of these functions is atomic "
217 "with respect to other threads in the process calling the same function."
218 msgstr ""
219 "عملية الضبط والاسترداد التي تُنفذها كل من هذه الدوال ذرية بالنسبة للخيوط "
220 "الأخرى في العملية التي تستدعي نفس الدالة."
221
222 #. type: SH
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "RETURN VALUE"
227 msgstr "قيمة الإرجاع"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "On success, these functions return 0; on error, they return a nonzero error "
234 "number."
235 msgstr ""
236 "عند النجاح، تُعيد هذه الدوال القيمة 0؛ وعند الخطأ، تُعيد رقم خطأ غير صفري."
237
238 #. type: SH
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "ERRORS"
243 msgstr "الأخطاء"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid "The B<pthread_setcancelstate>() can fail with the following error:"
249 msgstr "قد تفشل الدالة B<pthread_setcancelstate>() مع الخطأ التالي:"
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<EINVAL>"
256 msgstr "B<EINVAL>"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid "Invalid value for I<state>."
262 msgstr "قيمة غير صالحة لـ I<state>."
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid "The B<pthread_setcanceltype>() can fail with the following error:"
268 msgstr "قد تفشل الدالة B<pthread_setcanceltype>() مع الخطأ التالي:"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid "Invalid value for I<type>."
274 msgstr "قيمة غير صالحة لـ I<type>."
275
276 #. type: SH
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "ATTRIBUTES"
281 msgstr "السمات"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "For an explanation of the terms used in this section, see B<attributes>(7)."
288 msgstr ""
289 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
290
291 #. type: tbl table
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "Interface"
296 msgstr "الواجهة"
297
298 #. type: tbl table
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "Attribute"
303 msgstr "السمة"
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "Value"
310 msgstr "القيمة"
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid ".na\n"
317 msgstr ".na\n"
318
319 #. type: tbl table
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid ".nh\n"
324 msgstr ".nh\n"
325
326 #. type: tbl table
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid ""
331 "B<pthread_setcancelstate>(),\n"
332 "B<pthread_setcanceltype>()"
333 msgstr ""
334 "B<pthread_setcancelstate>(),\n"
335 "B<pthread_setcanceltype>()"
336
337 #. type: tbl table
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "Thread safety"
342 msgstr "سلامة الخيوط"
343
344 #. type: tbl table
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "MT-Safe"
349 msgstr "MT-Safe"
350
351 #. type: tbl table
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "Async-cancel safety"
356 msgstr "أمان الإلغاء غير المتزامن"
357
358 #. type: tbl table
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "AC-Safe"
363 msgstr "AC-Safe"
364
365 #. type: SH
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "STANDARDS"
370 msgstr "المعايير"
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid "POSIX.1-2008."
376 msgstr "POSIX.1-2008."
377
378 #. type: SH
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "HISTORY"
383 msgstr "التاريخ"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid "glibc 2.0 POSIX.1-2001."
389 msgstr "glibc 2.0 POSIX.1-2001."
390
391 #. type: SH
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "NOTES"
396 msgstr "ملاحظات"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "For details of what happens when a thread is canceled, see B<\\"
403 "%pthread_cancel>(3)."
404 msgstr "للحصول على تفاصيل ما يحدث عند إلغاء خيط، انظر B<\\%pthread_cancel>(3)."
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "Briefly disabling cancelability is useful if a thread performs some critical "
411 "action that must not be interrupted by a cancelation request. Beware of "
412 "disabling cancelability for long periods, or around operations that may "
413 "block for long periods, since that will render the thread unresponsive to "
414 "cancelation requests."
415 msgstr ""
416 "تعطيل قابلية الإلغاء لفترة وجيزة مفيد إذا كان الخيط ينفذ إجراءً حرجًا لا يجب "
417 "مقاطعته بطلب إلغاء. احذر من تعطيل قابلية الإلغاء لفترات طويلة، أو حول عمليات "
418 "قد تمنع لفترات طويلة، لأن ذلك سيجعل الخيط غير مستجيب لطلبات الإلغاء."
419
420 #. type: SS
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 #, no-wrap
424 msgid "Asynchronous cancelability"
425 msgstr "قابلية الإلغاء غير المتزامنة"
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "Setting the cancelability type to B<PTHREAD_CANCEL_ASYNCHRONOUS> is rarely "
432 "useful. Since the thread could be canceled at I<any> time, it cannot safely "
433 "reserve resources (e.g., allocating memory with B<malloc>(3)), acquire "
434 "mutexes, semaphores, or locks, and so on. Reserving resources is unsafe "
435 "because the application has no way of knowing what the state of these "
436 "resources is when the thread is canceled; that is, did cancelation occur "
437 "before the resources were reserved, while they were reserved, or after they "
438 "were released? Furthermore, some internal data structures (e.g., the linked "
439 "list of free blocks managed by the B<malloc>(3) family of functions) may be "
440 "left in an inconsistent state if cancelation occurs in the middle of the "
441 "function call. Consequently, clean-up handlers cease to be useful."
442 msgstr ""
443 "ضبط نوع قابلية الإلغاء إلى B<PTHREAD_CANCEL_ASYNCHRONOUS> نادرًا ما يكون "
444 "مفيدًا. نظرًا لأنه يمكن إلغاء الخيط في I<أي> وقت، فلا يمكنه حجز الموارد بأمان "
445 "(مثل تخصيص الذاكرة باستخدام B<malloc>(3))، أو الحصول على كائنات المزامنة، أو "
446 "الإشارات، أو الأقفال، وما إلى ذلك. حجز الموارد غير آمن لأن التطبيق ليس لديه "
447 "طريقة لمعرفة حالة هذه الموارد عند إلغاء الخيط؛ أي هل حدث الإلغاء قبل حجز "
448 "الموارد، أو أثناء حجزها، أو بعد تحريرها؟ علاوة على ذلك، قد تُترك بعض هياكل "
449 "البيانات الداخلية (مثل القائمة المرتبطة للكتل الحرة التي تديرها عائلة دوال "
450 "B<malloc>(3)) في حالة غير متناسقة إذا حدث الإلغاء في منتصف استدعاء الدالة. "
451 "وبالتالي، تتوقف معالجات التنظيف عن كونها مفيدة."
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "Functions that can be safely asynchronously canceled are called I<async-"
458 "cancel-safe functions>. POSIX.1-2001 and POSIX.1-2008 require only that "
459 "B<pthread_cancel>(3), B<pthread_setcancelstate>(), and "
460 "B<pthread_setcanceltype>() be async-cancel-safe. In general, other library "
461 "functions can't be safely called from an asynchronously cancelable thread."
462 msgstr ""
463 "الدوال التي يمكن إلغاؤها بأمان بشكل غير متزامن تُسمى I<دوال آمنة للإلغاء غير "
464 "المتزامن>. يتطلب POSIX.1-2001 و POSIX.1-2008 فقط أن تكون "
465 "B<pthread_cancel>(3) و B<pthread_setcancelstate>() و "
466 "B<pthread_setcanceltype>() آمنة للإلغاء غير المتزامن. بشكل عام، لا يمكن "
467 "استدعاء دوال المكتبة الأخرى بأمان من خيط قابل للإلغاء غير المتزامن."
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "One of the few circumstances in which asynchronous cancelability is useful "
474 "is for cancelation of a thread that is in a pure compute-bound loop."
475 msgstr ""
476 "أحد الظروف القليلة التي تكون فيها قابلية الإلغاء غير المتزامنة مفيدة هو "
477 "إلغاء خيط موجود في حلقة حسابية بحتة."
478
479 #. type: SS
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "Portability notes"
484 msgstr "ملاحظات حول قابلية النقل"
485
486 #. It looks like at least Solaris, FreeBSD and Tru64 support this.
487 #. type: Plain text
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 msgid ""
491 "The Linux threading implementations permit the I<oldstate> argument of "
492 "B<pthread_setcancelstate>() to be NULL, in which case the information about "
493 "the previous cancelability state is not returned to the caller. Many other "
494 "implementations also permit a NULL I<oldstat> argument, but POSIX.1 does not "
495 "specify this point, so portable applications should always specify a non-"
496 "NULL value in I<oldstate>. A precisely analogous set of statements applies "
497 "for the I<oldtype> argument of B<pthread_setcanceltype>()."
498 msgstr ""
499 "تسمح تطبيقات الخيوط في Linux بأن تكون وسيطة I<oldstate> للدالة "
500 "B<pthread_setcancelstate>() NULL، وفي هذه الحالة لا تُعاد معلومات عن حالة "
501 "قابلية الإلغاء السابقة إلى المستدعي. تسمح العديد من التطبيقات الأخرى أيضًا "
502 "بوسيطة I<oldstat> بقيمة NULL، لكن POSIX.1 لا يحدد هذه النقطة، لذا يجب على "
503 "التطبيقات المحمولة دائمًا تحديد قيمة غير NULL في I<oldstate>. تنطبق مجموعة "
504 "مماثلة تمامًا من العبارات على وسيطة I<oldtype> للدالة "
505 "B<pthread_setcanceltype>()."
506
507 #. type: SH
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "EXAMPLES"
512 msgstr "أمثلة"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid "See B<pthread_cancel>(3)."
518 msgstr "انظر B<pthread_cancel>(3)."
519
520 #. type: SH
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "SEE ALSO"
525 msgstr "انظر أيضًا"
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "B<pthread_cancel>(3), B<pthread_cleanup_push>(3), B<pthread_testcancel>(3), "
532 "B<pthreads>(7)"
533 msgstr ""
534 "B<pthread_cancel>(3)، B<pthread_cleanup_push>(3)، B<pthread_testcancel>(3)، "
535 "B<pthreads>(7)"
536
537 #. type: TH
538 #: debian-trixie
539 #, no-wrap
540 msgid "2024-05-02"
541 msgstr "2 مايو 2024"
542
543 #. type: TH
544 #: debian-trixie
545 #, no-wrap
546 msgid "Linux man-pages 6.9.1"
547 msgstr "صفحات دليل لينكس 6.9.1"
548
549 #. type: Plain text
550 #: debian-trixie
551 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
552 msgstr "مكتبة مسالك POSIX (I<libpthread>، I<-lpthread>)"
553
554 #. type: TH
555 #: fedora-44 fedora-rawhide
556 #, no-wrap
557 msgid "2024-07-23"
558 msgstr "23 يوليو 2024"
559
560 #. type: TH
561 #: fedora-44 fedora-rawhide
562 #, no-wrap
563 msgid "Linux man-pages 6.13"
564 msgstr "صفحات دليل لينكس 6.13"
565
566 #. type: TH
567 #: mageia-cauldron
568 #, no-wrap
569 msgid "Linux man-pages 6.17"
570 msgstr "صفحات دليل لينكس 6.17"
571
572 #. type: TH
573 #: opensuse-leap-16-1 opensuse-tumbleweed
574 #, no-wrap
575 msgid "Linux man-pages (unreleased)"
576 msgstr "صفحات دليل لينكس (لم تصدر بعد)"