Invalid timeouts in i386 sem_timedwait.

We adjusted nwaiters even though this isn't necessary.
This commit is contained in:
Ulrich Drepper 2009-12-12 11:06:23 -08:00
parent 2de59be022
commit 9554ebf2d4
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2009-12-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait):
Don't update nwaiters after invalid timeout is recognized.
2009-11-27 Thomas Schwinge <thomas@codesourcery.com>
* sysdeps/unix/sysv/linux/sh/pt-initfini.c (_init): Don't call

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
/* Copyright (C) 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@ -131,10 +131,10 @@ sem_timedwait:
xorl %eax, %eax
10: LOCK
LOCK
decl NWAITERS(%ebx)
addl $12, %esp
10: addl $12, %esp
.Ladd_esp:
popl %ebx
.Lpop_ebx: