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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | nptl/pthread_create.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nptl/forward.c
diff --git a/nptl/forward.c b/nptl/forward.c
index b62efd86f8a23059996641037b7e477b8a7824de..cf7368b48161f7ca80963e884122fec4688b4c18 100644
--- a/nptl/forward.c
+++ b/nptl/forward.c
@@ -199,6 +199,7 @@ FORWARD2(__pthread_unwind,
(__pthread_unwind_buf_t *buf), (buf), {
/* We cannot call abort() here. */
INTERNAL_SYSCALL_DECL (err);
- INTERNAL_SYSCALL (kill, err, 1, SIGKILL);
+ INTERNAL_SYSCALL (kill, err, 2, THREAD_SELF->pid,
+ SIGKILL);
})
#undef return
« 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