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?

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

Reply via email to