commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael A. Smith" <...@apache.org>
Subject Re: [SUBMIT][Collections] Buffer stuff from Avalon
Date Thu, 27 Jun 2002 20:57:51 GMT
On Thu, 27 Jun 2002, Stephen Colebourne wrote:
> I understood that the correct way to syncgronize was
> synchronize (list) {
>   for (Iterator it = list.iterator(); it.hasNext();) {
>   ...
>   }
> }
> Maybe I'm wrong...

no, that's the way that Sun decided to implement 
Collections.synchronizedFoo, so you're right.  I was just saying that I 
thought Sun could have implemented the iterator so that wasn't required 
for a multi-thread safe iterator.

> > Speaking of the naming proposal, have you had a chance to write
> > something up?  I'm fairly certain I will have time this weekend, but
> > don't want to duplicate effort if you've already gotten something put
> > together that you just haven't finished/submitted yet.
> 
> Submitted a few days ago
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=commons-dev@jakarta.apac
> he.org&msgId=377897

doh.  I even saved it for review.

sorry 'bout that...

michael


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message