apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <dr...@jetnet.co.uk>
Subject Re: [PATCH] apr_queue race condition
Date Tue, 11 Feb 2003 18:26:39 GMT
I share the concern so +1 for the concept. I'm also not familiar enough with
the code to commit it but hopefully someone who is can have a look before
too long...  Aaron? Ian?

david

> --On Monday, February 10, 2003 2:10 PM -0800 Jacob Lewallen
> <jlewalle@cs.ucr.edu> wrote:
>
> >>
> >> Can you do us a big favor and please resubmit the patch without
> >> any  whitespace changes?  That is, only diff what you actually
> >> changed. We
> >
> >     No problem. Here she is.
>
> In this case, I'll defer to the people who know this code better than
> I do.
>
> I think even if the queue size is of the correct size, too many
> consumers could rush in and get stuck waiting on the empty case which
> may never come.  So, yeah.  +1 in concept.  This is better than doing
> the broadcast approach which could be expensive.  -- justin
>


Mime
View raw message