avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/event/src/java/org/apache/excalibur/event/command TPCThreadManager.java
Date Wed, 29 May 2002 01:09:15 GMT
proyal      02/05/28 18:09:14

  Modified:    event/src/java/org/apache/excalibur/event/command
                        TPCThreadManager.java
  Log:
  Applied patch from Gregory Steuck <greg-avalon-dev@nest.cx> to restore
  previous behavior if parameterize() is not called.
  
  Revision  Changes    Path
  1.17      +1 -1      jakarta-avalon-excalibur/event/src/java/org/apache/excalibur/event/command/TPCThreadManager.java
  
  Index: TPCThreadManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/event/src/java/org/apache/excalibur/event/command/TPCThreadManager.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- TPCThreadManager.java	24 May 2002 16:32:44 -0000	1.16
  +++ TPCThreadManager.java	29 May 2002 01:09:14 -0000	1.17
  @@ -46,7 +46,7 @@
       //Set reasonable defaults in case parameterize() is never called.
       private long m_sleepTime = 1000L;
       private long m_blockTimeout = 1000L;
  -    private int m_processors = 1;
  +    private int m_processors = SystemUtil.numProcessors();
       private int m_threadsPerProcessor = 1;
   
       private boolean m_initialized = false;
  
  
  

--
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