On Tuesday 23 July 2002 05:00, Vadim Gritsenko wrote:
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> >
> > tcurdt      2002/07/22 19:04:30
> >
> >   Modified:    src/java/org/apache/cocoon/sitemap
>
> ContentAggregator.java
>
> >   Log:
> >   fixed a raise condition
>
> You mean race condition.

yes :)

> But, ContentAggregator is Recyclable, which means that it is Poolable,
> which means that it is allowed to be accessed by one thread only,
> *especially* in lifecycle methods (AFAIU Avalon - am I right?).

I got a NPE when trying with xerces... 

a "fixed possible NPE" would have been the right message ;-)
please bear with me it was 4:30am

> If you observe several threads in recycle() at once, it means that
> something is *really* wrong somewhere, and it is better to find reason
> of the real problem then mask its consequences.

should be fine...
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to