Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: nptl/forward.c

Issue 7785030: Replace #define syscalls cancel machinery. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Cosmetic change Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | nptl/pthread_create.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | nptl/pthread_create.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698