OLD | NEW |
1 /* Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc. | 1 /* Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc. |
2 This file is part of the GNU C Library. | 2 This file is part of the GNU C Library. |
3 Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. | 3 Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. |
4 | 4 |
5 The GNU C Library is free software; you can redistribute it and/or | 5 The GNU C Library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Lesser General Public | 6 modify it under the terms of the GNU Lesser General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2.1 of the License, or (at your option) any later version. | 8 version 2.1 of the License, or (at your option) any later version. |
9 | 9 |
10 The GNU C Library is distributed in the hope that it will be useful, | 10 The GNU C Library is distributed in the hope that it will be useful, |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 | 192 |
193 FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0) | 193 FORWARD (pthread_setcanceltype, (int type, int *oldtype), (type, oldtype), 0) |
194 | 194 |
195 #define return /* value is void */ | 195 #define return /* value is void */ |
196 FORWARD2(__pthread_unwind, | 196 FORWARD2(__pthread_unwind, |
197 void attribute_hidden __attribute ((noreturn)) __cleanup_fct_attribute | 197 void attribute_hidden __attribute ((noreturn)) __cleanup_fct_attribute |
198 attribute_compat_text_section, | 198 attribute_compat_text_section, |
199 (__pthread_unwind_buf_t *buf), (buf), { | 199 (__pthread_unwind_buf_t *buf), (buf), { |
200 /* We cannot call abort() here. */ | 200 /* We cannot call abort() here. */ |
201 INTERNAL_SYSCALL_DECL (err); | 201 INTERNAL_SYSCALL_DECL (err); |
202 » » INTERNAL_SYSCALL (kill, err, 1, SIGKILL); | 202 » » INTERNAL_SYSCALL (kill, err, 2, THREAD_SELF->pid, |
| 203 » » » » » SIGKILL); |
203 }) | 204 }) |
204 #undef return | 205 #undef return |
OLD | NEW |