[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r9355 - in /fsf/trunk/libc/nptl: ChangeLog sysdeps/unix/sysv/linux/x86_64/cancellation.S
- To: commits@xxxxxxxxxx
- Subject: [commits] r9355 - in /fsf/trunk/libc/nptl: ChangeLog sysdeps/unix/sysv/linux/x86_64/cancellation.S
- From: eglibc@xxxxxxxxxx
- Date: Sat, 28 Nov 2009 08:05:28 -0000
Author: eglibc
Date: Sat Nov 28 00:05:26 2009
New Revision: 9355
Log:
Import glibc-mainline for 2009-11-28
Modified:
fsf/trunk/libc/nptl/ChangeLog
fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S
Modified: fsf/trunk/libc/nptl/ChangeLog
==============================================================================
--- fsf/trunk/libc/nptl/ChangeLog (original)
+++ fsf/trunk/libc/nptl/ChangeLog Sat Nov 28 00:05:26 2009
@@ -1,3 +1,8 @@
+2009-11-27 Andreas Schwab <schwab@xxxxxxxxxx>
+
+ * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Reload
+ THREAD_SELF->cancelhandling after returning from futex call.
+
2009-11-24 Ulrich Drepper <drepper@xxxxxxxxxx>
* tst-sem13.c: New file.
Modified: fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S
==============================================================================
--- fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S (original)
+++ fsf/trunk/libc/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S Sat Nov 28 00:05:26 2009
@@ -96,8 +96,8 @@
cmpxchgl %r11d, %fs:CANCELHANDLING
jnz 2b
-3: movl %r11d, %eax
- andl $(TCB_CANCELING_BITMASK|TCB_CANCELED_BITMASK), %eax
+ movl %r11d, %eax
+3: andl $(TCB_CANCELING_BITMASK|TCB_CANCELED_BITMASK), %eax
cmpl $TCB_CANCELING_BITMASK, %eax
je 4f
1: ret
@@ -111,5 +111,6 @@
addq $CANCELHANDLING, %rdi
LOAD_PRIVATE_FUTEX_WAIT (%esi)
syscall
+ movl %fs:CANCELHANDLING, %eax
jmp 3b
END(__pthread_disable_asynccancel)