[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interface groups



* Artur Grabowski <art@blahonga.org> [2004-06-23 23:04]:
> Philipp Buehler <pb@openbsd.de> writes:
> 
> > On 23/06/2004, Henning Brauer <lists-openbsdtech@bsws.de> wrote To tech@openbsd.org:
> > > the manpage example is bad for draining the entire queue.
> > > the point however is that TAILQ_REMOVE in a TAILQ_FOREACH loop is 
> > > going to bomb out.
> > 
> > No. It *might* bomb out. ;-)
> > 
> > That's the evil part. It's a somewhat race and in the typical "testing"
> > it wont have to happen - else it would never go into a tree.
> 
> It will bomb out if you enable malloc/pool debugging on the data you're
> playing with. :)

which, of course, is the case on any developer notebook ;)