about summary refs log tree commit diff
path: root/src/thread/i386
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-17 12:09:47 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-17 12:09:47 -0400
commite74664016b025ea9718da59e680555961444ee4d (patch)
tree2d3395ecaa75fc2cf34101ad82bfe34aad66f1ad /src/thread/i386
parentfeee98903cd8119d9a3db62589246a940f44a9f5 (diff)
downloadmusl-e74664016b025ea9718da59e680555961444ee4d.tar.gz
musl-e74664016b025ea9718da59e680555961444ee4d.tar.xz
musl-e74664016b025ea9718da59e680555961444ee4d.zip
fix some minor issues in cancellation handling patch
signals were wrongly left masked, and cancellability state was not
switched to disabled, during the execution of cleanup handlers.
Diffstat (limited to 'src/thread/i386')
-rw-r--r--src/thread/i386/syscall_cp.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/i386/syscall_cp.s b/src/thread/i386/syscall_cp.s
index 6f98a779..6d8c354b 100644
--- a/src/thread/i386/syscall_cp.s
+++ b/src/thread/i386/syscall_cp.s
@@ -33,4 +33,4 @@ __syscall_cp_asm:
 	movl %eax,4(%ecx)
 	movl %eax,(%ecx)
 	pushl $-1
-	call pthread_exit
+	call __cancel