Re: race in org.beepcore.beep.lib.Reply

Huston <[email protected]> 13 Jun 2003 13:06:39 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
On Fri, 2003-06-13 at 12:34, Lawrence Greenfield wrote:
> The Reply class has a pretty serious race condition in it: hasNext()
> fails to check the pending replies after coming off of the wait().
> 
> Patch attached. My patch also inserts a while() loop around the
> wait(), which is generally good form.
> 
> Larry

Larry,

Thanks! I'll check this into cvs.

--Huston



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5