Debian Codegraph @

templates/man2/tkill.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:49+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "tkill"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "tkill, tgkill - send a signal to a thread"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#include E<lt>signal.hE<gt>> /* Definition of B<SIG*> constants */\n"
78 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
79 "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr ""
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<[[deprecated]] int syscall(SYS_tkill, pid_t >I<tid>B<, int >I<sig>B<);>\n"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "B<#include E<lt>signal.hE<gt>>\n"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "B<int tgkill(pid_t >I<tgid>B<, pid_t >I<tid>B<, int >I<sig>B<);>\n"
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "I<Note>: glibc provides no wrapper for B<tkill>(), necessitating the use of "
108 "B<syscall>(2)."
109 msgstr ""
110
111 #. type: SH
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid "DESCRIPTION"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "B<tgkill>() sends the signal I<sig> to the thread with the thread ID I<tid> "
123 "in the thread group I<tgid>. (By contrast, B<kill>(2) can be used to send "
124 "a signal only to a process (i.e., thread group) as a whole, and the signal "
125 "will be delivered to an arbitrary thread within that process.)"
126 msgstr ""
127
128 #
129 #
130 #
131 #
132 #
133 #. #-#-#-#-# archlinux: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
134 #. FIXME Maybe say something about the following:
135 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
136 #. Quoting Rich Felker <[email protected]>:
137 #. There is a race condition in pthread_kill: it is possible that,
138 #. between the time pthread_kill reads the pid/tid from the target
139 #. thread descriptor and the time it makes the tgkill syscall,
140 #. the target thread terminates and the same tid gets assigned
141 #. to a new thread in the same process.
142 #. (The tgkill syscall was designed to eliminate a similar race
143 #. condition in tkill, but it only succeeded in eliminating races
144 #. where the tid gets reused in a different process, and does not
145 #. help if the same tid gets assigned to a new thread in the
146 #. same process.)
147 #. The only solution I can see is to introduce a mutex that ensures
148 #. that a thread cannot exit while pthread_kill is being called on it.
149 #. Note that in most real-world situations, like almost all race
150 #. conditions, this one will be extremely rare. To make it
151 #. measurable, one could exhaust all but 1-2 available pid values,
152 #. possibly by lowering the max pid parameter in /proc, forcing
153 #. the same tid to be reused rapidly.
154 #. type: Plain text
155 #. #-#-#-#-# debian-trixie: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
156 #. FIXME Maybe say something about the following:
157 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
158 #. Quoting Rich Felker <[email protected]>:
159 #. There is a race condition in pthread_kill: it is possible that,
160 #. between the time pthread_kill reads the pid/tid from the target
161 #. thread descriptor and the time it makes the tgkill syscall,
162 #. the target thread terminates and the same tid gets assigned
163 #. to a new thread in the same process.
164 #. (The tgkill syscall was designed to eliminate a similar race
165 #. condition in tkill, but it only succeeded in eliminating races
166 #. where the tid gets reused in a different process, and does not
167 #. help if the same tid gets assigned to a new thread in the
168 #. same process.)
169 #. The only solution I can see is to introduce a mutex that ensures
170 #. that a thread cannot exit while pthread_kill is being called on it.
171 #. Note that in most real-world situations, like almost all race
172 #. conditions, this one will be extremely rare. To make it
173 #. measurable, one could exhaust all but 1-2 available pid values,
174 #. possibly by lowering the max pid parameter in /proc, forcing
175 #. the same tid to be reused rapidly.
176 #. type: Plain text
177 #. #-#-#-#-# debian-unstable: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
178 #. FIXME Maybe say something about the following:
179 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
180 #. Quoting Rich Felker <[email protected]>:
181 #. There is a race condition in pthread_kill: it is possible that,
182 #. between the time pthread_kill reads the pid/tid from the target
183 #. thread descriptor and the time it makes the tgkill syscall,
184 #. the target thread terminates and the same tid gets assigned
185 #. to a new thread in the same process.
186 #. (The tgkill syscall was designed to eliminate a similar race
187 #. condition in tkill, but it only succeeded in eliminating races
188 #. where the tid gets reused in a different process, and does not
189 #. help if the same tid gets assigned to a new thread in the
190 #. same process.)
191 #. The only solution I can see is to introduce a mutex that ensures
192 #. that a thread cannot exit while pthread_kill is being called on it.
193 #. Note that in most real-world situations, like almost all race
194 #. conditions, this one will be extremely rare. To make it
195 #. measurable, one could exhaust all but 1-2 available pid values,
196 #. possibly by lowering the max pid parameter in /proc, forcing
197 #. the same tid to be reused rapidly.
198 #. type: Plain text
199 #. #-#-#-#-# fedora-44: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
200 #. FIXME Maybe say something about the following:
201 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
202 #. Quoting Rich Felker <[email protected]>:
203 #. There is a race condition in pthread_kill: it is possible that,
204 #. between the time pthread_kill reads the pid/tid from the target
205 #. thread descriptor and the time it makes the tgkill syscall,
206 #. the target thread terminates and the same tid gets assigned
207 #. to a new thread in the same process.
208 #. (The tgkill syscall was designed to eliminate a similar race
209 #. condition in tkill, but it only succeeded in eliminating races
210 #. where the tid gets reused in a different process, and does not
211 #. help if the same tid gets assigned to a new thread in the
212 #. same process.)
213 #. The only solution I can see is to introduce a mutex that ensures
214 #. that a thread cannot exit while pthread_kill is being called on it.
215 #. Note that in most real-world situations, like almost all race
216 #. conditions, this one will be extremely rare. To make it
217 #. measurable, one could exhaust all but 1-2 available pid values,
218 #. possibly by lowering the max pid parameter in /proc, forcing
219 #. the same tid to be reused rapidly.
220 #. type: Plain text
221 #. #-#-#-#-# fedora-rawhide: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
222 #. FIXME Maybe say something about the following:
223 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
224 #. Quoting Rich Felker <[email protected]>:
225 #. There is a race condition in pthread_kill: it is possible that,
226 #. between the time pthread_kill reads the pid/tid from the target
227 #. thread descriptor and the time it makes the tgkill syscall,
228 #. the target thread terminates and the same tid gets assigned
229 #. to a new thread in the same process.
230 #. (The tgkill syscall was designed to eliminate a similar race
231 #. condition in tkill, but it only succeeded in eliminating races
232 #. where the tid gets reused in a different process, and does not
233 #. help if the same tid gets assigned to a new thread in the
234 #. same process.)
235 #. The only solution I can see is to introduce a mutex that ensures
236 #. that a thread cannot exit while pthread_kill is being called on it.
237 #. Note that in most real-world situations, like almost all race
238 #. conditions, this one will be extremely rare. To make it
239 #. measurable, one could exhaust all but 1-2 available pid values,
240 #. possibly by lowering the max pid parameter in /proc, forcing
241 #. the same tid to be reused rapidly.
242 #. type: Plain text
243 #. #-#-#-#-# mageia-cauldron: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
244 #. FIXME Maybe say something about the following:
245 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
246 #. Quoting Rich Felker <[email protected]>:
247 #. There is a race condition in pthread_kill: it is possible that,
248 #. between the time pthread_kill reads the pid/tid from the target
249 #. thread descriptor and the time it makes the tgkill syscall,
250 #. the target thread terminates and the same tid gets assigned
251 #. to a new thread in the same process.
252 #. (The tgkill syscall was designed to eliminate a similar race
253 #. condition in tkill, but it only succeeded in eliminating races
254 #. where the tid gets reused in a different process, and does not
255 #. help if the same tid gets assigned to a new thread in the
256 #. same process.)
257 #. The only solution I can see is to introduce a mutex that ensures
258 #. that a thread cannot exit while pthread_kill is being called on it.
259 #. Note that in most real-world situations, like almost all race
260 #. conditions, this one will be extremely rare. To make it
261 #. measurable, one could exhaust all but 1-2 available pid values,
262 #. possibly by lowering the max pid parameter in /proc, forcing
263 #. the same tid to be reused rapidly.
264 #. type: Plain text
265 #. #-#-#-#-# opensuse-leap-16-1: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
266 #. FIXME Maybe say something about the following:
267 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
268 #. Quoting Rich Felker <[email protected]>:
269 #. There is a race condition in pthread_kill: it is possible that,
270 #. between the time pthread_kill reads the pid/tid from the target
271 #. thread descriptor and the time it makes the tgkill syscall,
272 #. the target thread terminates and the same tid gets assigned
273 #. to a new thread in the same process.
274 #. (The tgkill syscall was designed to eliminate a similar race
275 #. condition in tkill, but it only succeeded in eliminating races
276 #. where the tid gets reused in a different process, and does not
277 #. help if the same tid gets assigned to a new thread in the
278 #. same process.)
279 #. The only solution I can see is to introduce a mutex that ensures
280 #. that a thread cannot exit while pthread_kill is being called on it.
281 #. Note that in most real-world situations, like almost all race
282 #. conditions, this one will be extremely rare. To make it
283 #. measurable, one could exhaust all but 1-2 available pid values,
284 #. possibly by lowering the max pid parameter in /proc, forcing
285 #. the same tid to be reused rapidly.
286 #. type: Plain text
287 #. #-#-#-#-# opensuse-tumbleweed: tkill.2.pot (PACKAGE VERSION) #-#-#-#-#
288 #. FIXME Maybe say something about the following:
289 #. http://sourceware.org/bugzilla/show_bug.cgi?id=12889
290 #. Quoting Rich Felker <[email protected]>:
291 #. There is a race condition in pthread_kill: it is possible that,
292 #. between the time pthread_kill reads the pid/tid from the target
293 #. thread descriptor and the time it makes the tgkill syscall,
294 #. the target thread terminates and the same tid gets assigned
295 #. to a new thread in the same process.
296 #. (The tgkill syscall was designed to eliminate a similar race
297 #. condition in tkill, but it only succeeded in eliminating races
298 #. where the tid gets reused in a different process, and does not
299 #. help if the same tid gets assigned to a new thread in the
300 #. same process.)
301 #. The only solution I can see is to introduce a mutex that ensures
302 #. that a thread cannot exit while pthread_kill is being called on it.
303 #. Note that in most real-world situations, like almost all race
304 #. conditions, this one will be extremely rare. To make it
305 #. measurable, one could exhaust all but 1-2 available pid values,
306 #. possibly by lowering the max pid parameter in /proc, forcing
307 #. the same tid to be reused rapidly.
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 ""
312 "B<tkill>() is an obsolete predecessor to B<tgkill>(). It allows only the "
313 "target thread ID to be specified, which may result in the wrong thread being "
314 "signaled if a thread terminates and its thread ID is recycled. Avoid using "
315 "this system call."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "These are the raw system call interfaces, meant for internal thread library "
323 "use."
324 msgstr ""
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "RETURN VALUE"
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid ""
337 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
338 "to indicate the error."
339 msgstr ""
340
341 #. type: SH
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "ERRORS"
346 msgstr ""
347
348 #. type: TP
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "B<EAGAIN>"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "The B<RLIMIT_SIGPENDING> resource limit was reached and I<sig> is a real-"
360 "time signal."
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Insufficient kernel memory was available and I<sig> is a real-time signal."
368 msgstr ""
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<EINVAL>"
375 msgstr ""
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "An invalid thread ID, thread group ID, or signal was specified."
381 msgstr ""
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<EPERM>"
388 msgstr ""
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "Permission denied. For the required permissions, see B<kill>(2)."
394 msgstr ""
395
396 #. type: TP
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "B<ESRCH>"
401 msgstr ""
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid "No process with the specified thread ID (and thread group ID) exists."
407 msgstr ""
408
409 #. type: SH
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "STANDARDS"
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid "Linux."
420 msgstr ""
421
422 #. type: SH
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 #, no-wrap
426 msgid "HISTORY"
427 msgstr ""
428
429 #. type: TP
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "B<tkill>()"
434 msgstr ""
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid "Linux 2.4.19 / 2.5.4."
440 msgstr ""
441
442 #. type: TP
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "B<tgkill>()"
447 msgstr ""
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid "Linux 2.5.75, glibc 2.30."
453 msgstr ""
454
455 #. type: SH
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "NOTES"
460 msgstr ""
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "See the description of B<CLONE_THREAD> in B<clone>(2) for an explanation of "
467 "thread groups."
468 msgstr ""
469
470 #. type: SH
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "SEE ALSO"
475 msgstr ""
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid "B<clone>(2), B<gettid>(2), B<kill>(2), B<rt_sigqueueinfo>(2)"
481 msgstr ""
482
483 #. type: TH
484 #: debian-trixie
485 #, no-wrap
486 msgid "2024-05-02"
487 msgstr ""
488
489 #. type: TH
490 #: debian-trixie
491 #, no-wrap
492 msgid "Linux man-pages 6.9.1"
493 msgstr ""
494
495 #. type: Plain text
496 #: debian-trixie
497 msgid "Standard C library (I<libc>, I<-lc>)"
498 msgstr ""
499
500 #. type: TH
501 #: fedora-44 fedora-rawhide
502 #, no-wrap
503 msgid "2024-07-23"
504 msgstr ""
505
506 #. type: TH
507 #: fedora-44 fedora-rawhide
508 #, no-wrap
509 msgid "Linux man-pages 6.13"
510 msgstr ""
511
512 #. type: TH
513 #: mageia-cauldron
514 #, no-wrap
515 msgid "Linux man-pages 6.17"
516 msgstr ""
517
518 #. type: TH
519 #: opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "Linux man-pages (unreleased)"
522 msgstr ""