lkml.org 
[lkml]   [1999]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bug? 2.2.5 ac6 and sshd 1.2.26
On Wed, Apr 14, 1999 at 12:30:57AM -0700, Richard Henderson wrote:
>
> Bother. Yet another semaphore bug. I don't think your patch is
> correct, since it would decrement both count and waking with
> (count=0, waking=0).
>

To be exact, both are decremented when waking>=0.
down_trylock() on i386 works the same way. Does it mean
a bug in their code?

Ivan.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.053 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site