avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl DefaultThreadPool.java
Date Sun, 19 Jan 2003 13:30:49 GMT
leosimons    2003/01/19 05:30:49

  Modified:    thread/src/java/org/apache/avalon/excalibur/thread/impl
                        DefaultThreadPool.java
  Log:
  applying threadpool fix for cornerstone as reported by Noel J. Bergman:
  
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15296
  
  Revision  Changes    Path
  1.13      +11 -0     jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl/DefaultThreadPool.java
  
  Index: DefaultThreadPool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/impl/DefaultThreadPool.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DefaultThreadPool.java	17 Jan 2003 08:08:06 -0000	1.12
  +++ DefaultThreadPool.java	19 Jan 2003 13:30:48 -0000	1.13
  @@ -97,6 +97,17 @@
           m_pool = new BasicThreadPool( this, name, m_underlyingPool, context );
       }
   
  +    public DefaultThreadPool( final String name,
  +                              final int min,
  +			      final int max,
  +                              final ThreadContext context )
  +        throws Exception
  +    {
  +        super( name );
  +        m_underlyingPool = new SoftResourceLimitingPool( this, min, max );
  +        m_pool = new BasicThreadPool( this, name, m_underlyingPool, context );
  +    }
  +
       public void setLogger( final org.apache.log.Logger logger )
       {
           enableLogging( new LogKitLogger( logger ) );
  
  
  

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


Mime
View raw message