Debian Codegraph @

po/fr/man3/pthread_setcancelstate.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012.
18 # Frédéric Hantrais <[email protected]>, 2013, 2014.
19 # Jean-Pierre Giraud <[email protected]>, 2023-2024.
20 msgid ""
21 msgstr ""
22 "Project-Id-Version: manpages-l10n 4.22.0\n"
23 "POT-Creation-Date: 2026-06-05 06:38+0200\n"
24 "PO-Revision-Date: 2024-04-22 11:38+0200\n"
25 "Last-Translator: Jean-Pierre Giraud <[email protected]>\n"
26 "Language-Team: French <[email protected]>\n"
27 "Language: fr\n"
28 "MIME-Version: 1.0\n"
29 "Content-Type: text/plain; charset=UTF-8\n"
30 "Content-Transfer-Encoding: 8bit\n"
31 "Plural-Forms: nplurals=2; plural=n > 1;\n"
32 "X-Generator: Lokalize 22.12.3\n"
33
34 #. type: TH
35 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
36 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "pthread_setcancelstate"
39 msgstr "pthread_setcancelstate"
40
41 #. type: TH
42 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
43 #: opensuse-tumbleweed
44 #, no-wrap
45 msgid "2025-05-17"
46 msgstr "17 mai 2025"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
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 "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid ""
65 "pthread_setcancelstate, pthread_setcanceltype - set cancelability state and "
66 "type"
67 msgstr ""
68 "pthread_setcancelstate, pthread_setcanceltype — Définir l'état et le type "
69 "d'annulation"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "LIBRARY"
76 msgstr "BIBLIOTHÈQUE"
77
78 #. type: Plain text
79 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
80 #: opensuse-leap-16-1 opensuse-tumbleweed
81 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
82 msgstr "Bibliothèque de threads POSIX (I<libpthread>,\\ I<-lpthread>)"
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "SYNOPSIS"
89 msgstr "SYNOPSIS"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "B<#include E<lt>pthread.hE<gt>>\n"
96 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid ""
103 "B<int pthread_setcancelstate(int >I<state>B<, int *>I<oldstate>B<);>\n"
104 "B<int pthread_setcanceltype(int >I<type>B<, int *>I<oldtype>B<);>\n"
105 msgstr ""
106 "B<int pthread_setcancelstate(int >I<state>B<, int *>I<oldstate>B<);>\n"
107 "B<int pthread_setcanceltype(int >I<type>B<, int *>I<oldtype>B<);>\n"
108
109 #. type: SH
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "DESCRIPTION"
114 msgstr "DESCRIPTION"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "The B<pthread_setcancelstate>() sets the cancelability state of the calling "
121 "thread to the value given in I<state>. The previous cancelability state of "
122 "the thread is returned in the buffer pointed to by I<oldstate>. The "
123 "I<state> argument must have one of the following values:"
124 msgstr ""
125 "La fonction B<pthread_setcancelstate>() définit l'état d'annulation du "
126 "thread appelant à la valeur indiquée par I<state>. L'ancien état "
127 "d'annulation du thread est renvoyé dans le tampon pointé par I<oldstate>. "
128 "L'argument I<state> doit avoir une des valeurs suivantes\\ :"
129
130 #. type: TP
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "B<PTHREAD_CANCEL_ENABLE>"
135 msgstr "B<PTHREAD_CANCEL_ENABLE>"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 msgid ""
141 "The thread is cancelable. This is the default cancelability state in all "
142 "new threads, including the initial thread. The thread's cancelability type "
143 "determines when a cancelable thread will respond to a cancelation request."
144 msgstr ""
145 "Le thread peut être annulé. C'est l'état d'annulation par défaut pour tous "
146 "les nouveaux threads, y compris le thread initial. Le type d'annulation du "
147 "thread détermine quand un thread annulable répondra à une requête "
148 "d'annulation."
149
150 #. type: TP
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "B<PTHREAD_CANCEL_DISABLE>"
155 msgstr "B<PTHREAD_CANCEL_DISABLE>"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "The thread is not cancelable. If a cancelation request is received, it is "
162 "blocked until cancelability is enabled."
163 msgstr ""
164 "Le thread n'est pas annulable. Si une requête d'annulation arrive, elle est "
165 "bloquée jusqu'à ce que l'annulation soit activée."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The B<pthread_setcanceltype>() sets the cancelability type of the calling "
172 "thread to the value given in I<type>. The previous cancelability type of "
173 "the thread is returned in the buffer pointed to by I<oldtype>. The I<type> "
174 "argument must have one of the following values:"
175 msgstr ""
176 "La fonction B<pthread_setcanceltype>() définit le type d'annulation du "
177 "thread appelant à la valeur indiquée par I<type>. L'ancien type d'annulation "
178 "du thread est renvoyé dans le tampon pointé par I<oldtype>. L'argument "
179 "I<type> doit avoir une des valeurs suivantes\\ :"
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<PTHREAD_CANCEL_DEFERRED>"
186 msgstr "B<PTHREAD_CANCEL_DEFERRED>"
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "A cancelation request is deferred until the thread next calls a function "
193 "that is a cancelation point (see B<pthreads>(7)). This is the default "
194 "cancelability type in all new threads, including the initial thread."
195 msgstr ""
196 "Une requête d'annulation est retardé jusqu'à ce que le thread appelle une "
197 "fonction qui est un point d'annulation (consultez B<pthreads>(7)). C'est le "
198 "type d'annulation par défaut pour tous les nouveaux threads, y compris le "
199 "thread initial."
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 "Even with deferred cancelation, a cancelation point in an asynchronous "
206 "signal handler may still be acted upon and the effect is as if it was an "
207 "asynchronous cancelation."
208 msgstr ""
209 "Même avec une annulation retardée, un point d'annulation dans un "
210 "gestionnaire de signal asynchrone peut encore être pris en compte et l'effet "
211 "est similaire à s'il s'agissait d'une annulation asynchrone."
212
213 #. type: TP
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "B<PTHREAD_CANCEL_ASYNCHRONOUS>"
218 msgstr "B<PTHREAD_CANCEL_ASYNCHRONOUS>"
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "The thread can be canceled at any time. (Typically, it will be canceled "
225 "immediately upon receiving a cancelation request, but the system doesn't "
226 "guarantee this.)"
227 msgstr ""
228 "Le thread peut être annulé à tout moment. Typiquement, il sera annulé dès "
229 "réception de la requête d'annulation, mais ce n'est pas garanti par le "
230 "système."
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "The set-and-get operation performed by each of these functions is atomic "
237 "with respect to other threads in the process calling the same function."
238 msgstr ""
239 "Les opérations I<set>/I<get> effectuées par ces fonctions sont atomiques, eu "
240 "égard aux autres threads du processus qui appellent la même fonction."
241
242 #. type: SH
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "RETURN VALUE"
247 msgstr "VALEUR RENVOYÉE"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "On success, these functions return 0; on error, they return a nonzero error "
254 "number."
255 msgstr ""
256 "En cas de succès, ces fonctions renvoient B<0> ; en cas d'erreur, elles "
257 "renvoient un code d'erreur non nul."
258
259 #. type: SH
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "ERRORS"
264 msgstr "ERREURS"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid "The B<pthread_setcancelstate>() can fail with the following error:"
270 msgstr "B<pthread_setcancelstate>() peut échouer avec l'erreur suivante :"
271
272 #. type: TP
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "B<EINVAL>"
277 msgstr "B<EINVAL>"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid "Invalid value for I<state>."
283 msgstr "Valeur invalide pour I<state>."
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "The B<pthread_setcanceltype>() can fail with the following error:"
289 msgstr "B<pthread_setcanceltype>() peut échouer avec l'erreur suivante :"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid "Invalid value for I<type>."
295 msgstr "Valeur invalide pour I<type>."
296
297 #. type: SH
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "ATTRIBUTES"
302 msgstr "ATTRIBUTS"
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "For an explanation of the terms used in this section, see B<attributes>(7)."
309 msgstr ""
310 "Pour une explication des termes utilisés dans cette section, consulter "
311 "B<attributes>(7)."
312
313 #. type: tbl table
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "Interface"
318 msgstr "Interface"
319
320 #. type: tbl table
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "Attribute"
325 msgstr "Attribut"
326
327 #. type: tbl table
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "Value"
332 msgstr "Valeur"
333
334 #. type: tbl table
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid ".na\n"
339 msgstr ".na\n"
340
341 #. type: tbl table
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid ".nh\n"
346 msgstr ".nh\n"
347
348 #. type: tbl table
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid ""
353 "B<pthread_setcancelstate>(),\n"
354 "B<pthread_setcanceltype>()"
355 msgstr ""
356 "B<pthread_setcancelstate>(),\n"
357 "B<pthread_setcanceltype>()"
358
359 #. type: tbl table
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "Thread safety"
364 msgstr "Sécurité des threads"
365
366 #. type: tbl table
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "MT-Safe"
371 msgstr "MT-Safe"
372
373 #. type: tbl table
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "Async-cancel safety"
378 msgstr "Sécurité signaux async"
379
380 #. type: tbl table
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "AC-Safe"
385 msgstr "AC-Safe"
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "STANDARDS"
392 msgstr "NORMES"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid "POSIX.1-2008."
398 msgstr "POSIX.1-2008."
399
400 #. type: SH
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "HISTORY"
405 msgstr "HISTORIQUE"
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid "glibc 2.0 POSIX.1-2001."
411 msgstr "glibc 2.0 POSIX.1-2001."
412
413 #. type: SH
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "NOTES"
418 msgstr "NOTES"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid ""
424 "For details of what happens when a thread is canceled, see B<\\"
425 "%pthread_cancel>(3)."
426 msgstr ""
427 "Pour des détails sur ce qui se passe quand un thread est annulé, voyez "
428 "B<pthread_cancel>(3)."
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid ""
434 "Briefly disabling cancelability is useful if a thread performs some critical "
435 "action that must not be interrupted by a cancelation request. Beware of "
436 "disabling cancelability for long periods, or around operations that may "
437 "block for long periods, since that will render the thread unresponsive to "
438 "cancelation requests."
439 msgstr ""
440 "Désactiver brièvement l'annulation peut être pratique si un thread effectue "
441 "une action critique qui ne doit pas être interrompue par une requête "
442 "d'annulation. Mais attention de ne pas désactiver l'annulation sur de "
443 "longues périodes, ou autour d'opérations qui peuvent ploquer pendant un long "
444 "moment, car cela empêcherait le thread de répondre aux requêtes d'annulation."
445
446 #. type: SS
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "Asynchronous cancelability"
451 msgstr "Annulation asynchrone"
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 "Setting the cancelability type to B<PTHREAD_CANCEL_ASYNCHRONOUS> is rarely "
458 "useful. Since the thread could be canceled at I<any> time, it cannot safely "
459 "reserve resources (e.g., allocating memory with B<malloc>(3)), acquire "
460 "mutexes, semaphores, or locks, and so on. Reserving resources is unsafe "
461 "because the application has no way of knowing what the state of these "
462 "resources is when the thread is canceled; that is, did cancelation occur "
463 "before the resources were reserved, while they were reserved, or after they "
464 "were released? Furthermore, some internal data structures (e.g., the linked "
465 "list of free blocks managed by the B<malloc>(3) family of functions) may be "
466 "left in an inconsistent state if cancelation occurs in the middle of the "
467 "function call. Consequently, clean-up handlers cease to be useful."
468 msgstr ""
469 "Le type d'annulation est rarement mis à B<PTHREAD_CANCEL_ASYNCHRONOUS>. "
470 "Comme le thread pourrait être annulé n'importe quand, il ne pourrait pas "
471 "réserver de ressources (par exemple en allouant de la mémoire avec "
472 "B<malloc>(3)) de manière sûre, acquérir des verrous exclusifs (I<mutex>), "
473 "des sémaphores, des verrous, etc. Réserver des ressources n'est pas sûr, car "
474 "l'application n'a aucun moyen de connaître l'état de ces ressources quand le "
475 "thread est annulé\\ ; en d'autres termes, l'annulation arrive-t-elle avant "
476 "que les ressources n'aient été réservées, pendant qu'elles sont réservées, "
477 "ou après qu'elles ont été libérées\\ ? De plus, certaines structures de "
478 "données internes (par exemple la liste chaînée des blocs libres gérée par la "
479 "famille de fonctions B<malloc>(3)) pourraient se retrouver dans un état "
480 "incohérent si l'annulation se passe au milieu d'un appel de fonction. En "
481 "conséquence de quoi les gestionnaires de nettoyage perdent toute utilité."
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "Functions that can be safely asynchronously canceled are called I<async-"
488 "cancel-safe functions>. POSIX.1-2001 and POSIX.1-2008 require only that "
489 "B<pthread_cancel>(3), B<pthread_setcancelstate>(), and "
490 "B<pthread_setcanceltype>() be async-cancel-safe. In general, other library "
491 "functions can't be safely called from an asynchronously cancelable thread."
492 msgstr ""
493 "Les fonctions qui peuvent sans risque être annulées de manière asynchrone "
494 "sont appelées des I<fonctions async-cancel-safe>. POSIX.1-2001 et "
495 "POSIX.1-2008 nécessitent seulement que B<pthread_cancel>(3), "
496 "B<pthread_setcancelstate>() et B<pthread_setcanceltype>() soient async-"
497 "cancel-safe. En général, les autres fonctions de la bibliothèque ne peuvent "
498 "pas être appelées de manière sûre depuis un thread annulable immédiatement."
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "One of the few circumstances in which asynchronous cancelability is useful "
505 "is for cancelation of a thread that is in a pure compute-bound loop."
506 msgstr ""
507 "Une des rares circonstances dans lesquelles une annulation immédiate est "
508 "utile est pour l'annulation d'un thread qui est dans une boucle qui ne fait "
509 "que des calculs."
510
511 #. type: SS
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "Portability notes"
516 msgstr "Notes sur la portabilité"
517
518 #. It looks like at least Solaris, FreeBSD and Tru64 support this.
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "The Linux threading implementations permit the I<oldstate> argument of "
524 "B<pthread_setcancelstate>() to be NULL, in which case the information about "
525 "the previous cancelability state is not returned to the caller. Many other "
526 "implementations also permit a NULL I<oldstat> argument, but POSIX.1 does not "
527 "specify this point, so portable applications should always specify a non-"
528 "NULL value in I<oldstate>. A precisely analogous set of statements applies "
529 "for the I<oldtype> argument of B<pthread_setcanceltype>()."
530 msgstr ""
531 "Les implémentations de Linux autorisent l'argument I<oldstate> de "
532 "B<pthread_setcancelstate>() à être NULL, auquel cas l'information au sujet "
533 "de l'état antérieur d'annulation n'est pas renvoyée à l'appelant. Beaucoup "
534 "d'autres implémentations autorisent aussi un argument I<oldstat> NULL, mais "
535 "POSIX.1 ne spécifie pas ce point, si bien que les applications portables "
536 "devraient toujours donner une valeur non NULL à I<oldstate>. Le même type de "
537 "raisonnement s'applique à l'argument I<oldtype> de "
538 "B<pthread_setcanceltype>()."
539
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "EXAMPLES"
545 msgstr "EXEMPLES"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid "See B<pthread_cancel>(3)."
551 msgstr "Consultez B<pthread_cancel>(3)."
552
553 #. type: SH
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 #, no-wrap
557 msgid "SEE ALSO"
558 msgstr "VOIR AUSSI"
559
560 #. type: Plain text
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "B<pthread_cancel>(3), B<pthread_cleanup_push>(3), B<pthread_testcancel>(3), "
565 "B<pthreads>(7)"
566 msgstr ""
567 "B<pthread_cancel>(3), B<pthread_cleanup_push>(3), B<pthread_testcancel>(3), "
568 "B<pthreads>(7)"
569
570 #. type: TH
571 #: debian-trixie
572 #, no-wrap
573 msgid "2024-05-02"
574 msgstr "2 mai 2024"
575
576 #. type: TH
577 #: debian-trixie
578 #, no-wrap
579 msgid "Linux man-pages 6.9.1"
580 msgstr "Pages du manuel de Linux 6.9.1"
581
582 #. type: Plain text
583 #: debian-trixie
584 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
585 msgstr "Bibliothèque de threads POSIX (I<libpthread>, I<-lpthread>)"
586
587 #. type: TH
588 #: fedora-44 fedora-rawhide
589 #, no-wrap
590 msgid "2024-07-23"
591 msgstr "23 juillet 2024"
592
593 #. type: TH
594 #: fedora-44 fedora-rawhide
595 #, no-wrap
596 msgid "Linux man-pages 6.13"
597 msgstr "Pages du manuel de Linux 6.13"
598
599 #. type: TH
600 #: mageia-cauldron
601 #, no-wrap
602 msgid "Linux man-pages 6.17"
603 msgstr "Pages du manuel de Linux 6.17"
604
605 #. type: TH
606 #: opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "Linux man-pages (unreleased)"
609 msgstr "Pages du manuel de Linux (non publiées)"