Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 20:01:05 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Alfred Perlstein <bright@mu.org>, freebsd-hackers@FreeBSD.ORG, Alan Cox <alc@cs.rice.edu>, Tor.Egge@cvsup.no.freebsd.org
Subject:   Re: Bug in wakeup() (stable and current) ?
Message-ID:  <200206240301.g5O315Ow089287@apollo.backplane.com>
References:   <Pine.BSF.4.21.0206231838180.44896-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:
:>     the conditionally restarting rather then removing the element from the
:>     list and unconditionally restarting.  The only reason it works at all
:>     is because sys/queue.h does not clear out the pointers in the node 
:>     that was just removed.  The code is just plain wrong, though, because
:>     the queue mechanisms make no such (documented) guarentee.
:
:ummmm Was this found because of my tailq debugging stuff
:that sets the forward pointer to -1?
:

    Yah, that's what found it.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206240301.g5O315Ow089287>