Peter Donald wrote:
>
> At 02:46 AM 6/2/01 +0900, Eung-ju Park wrote:
> >below is org.apache.avalon.excalibur.thread.DefaultThreadPool's construtor.
> >
> >public DefaultThreadPool( final String name, final int capacity )
> > throws Exception
> >{
> > super( name );
> > m_pool = new SoftResourceLimitingPool( this, 0 );
> >}
> >
> >why capacity parameter neglected?
> >if max is 0 the DefaultPool determine m_max = 1.
> >therefore pool's max limit is 1.
> >so strange....
> >Is this my misunderstanding?
>
> Not sure - it looks like something that changed when changed to pooling
> code was done. Berin was this deliberate?
No. It was not. Will change it to DEFAULT_POOL_SIZE instead.
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof." |
> | - John Kenneth Galbraith |
> *-----------------------------------------------------*
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]