1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-02 02:01:46 +03:00
Adhemerval Zanella f779b1efb3 nptl: Implement raise in terms of pthread_kill
Now that pthread_kill is provided by libc.so it is possible to
implement the generic POSIX implementation as
'pthread_kill(pthread_self(), sig)'.

For Linux implementation, pthread_kill read the targeting TID from
the TCB.  For raise, this it not possible because it would make raise
fail when issue after vfork (where creates the resulting process
has a different TID from the parent, but its TCB is not updated as
for pthread_create).  To make raise use pthread_kill, it is make
usable from vfork by getting the target thread id through gettid
syscall.

Checked on x86_64-linux-gnu and aarch64-linux-gnu.
2021-06-09 15:16:45 -03:00
..
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-02-11 08:02:16 -03:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-06-03 08:26:04 +02:00
2021-02-11 08:00:48 -03:00
2021-03-18 15:54:39 -03:00
2021-03-26 13:36:17 -03:00
2021-03-26 13:37:14 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:37:18 -03:00
2021-03-26 13:36:17 -03:00
2021-02-11 08:00:48 -03:00
2021-03-29 10:22:13 -03:00
2021-03-26 13:36:17 -03:00
2021-05-03 08:15:53 +02:00
2021-05-17 20:55:21 +00:00
2021-03-08 22:41:41 +01:00
2021-02-08 09:20:03 +01:00
2021-03-02 16:55:05 +01:00
2021-06-02 07:32:19 +02:00