[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tm-cvs-commit] dmcknight org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server SecuredThread.java

Update of /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server
In directory dev1:/tmp/cvs-serv20693/src/org/eclipse/dstore/core/server

Modified Files:
      Tag: R3_0_maintenance
	SecuredThread.java 
Log Message:
[373459] [dstore][multithread] duplicate finish() calls during idle timeout


Index: SecuredThread.java
===================================================================
RCS file: /cvsroot/tools/org.eclipse.tm.rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/SecuredThread.java,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C2 -d -r1.7 -r1.7.2.1
*** SecuredThread.java	4 Jun 2008 10:50:16 -0000	1.7
--- SecuredThread.java	7 Mar 2012 18:20:55 -0000	1.7.2.1
***************
*** 1,4 ****
  /*******************************************************************************
!  * Copyright (c) 2008 IBM Corporation and others.
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of the Eclipse Public License v1.0
--- 1,4 ----
  /*******************************************************************************
!  * Copyright (c) 2008, 2012 IBM Corporation and others.
   * All rights reserved. This program and the accompanying materials
   * are made available under the terms of the Eclipse Public License v1.0
***************
*** 13,16 ****
--- 13,17 ----
   *   Noriaki Takatsu (IBM)  - [220126] [dstore][api][breaking] Single process server for multiple clients
   *   Noriaki Takatsu (IBM)  - [228335] [dstore][multithread] start() in SecuredThread class
+  *   David McKnight   (IBM) - [373459] [dstore][multithread] duplicate finish() calls during idle timeout
   *******************************************************************************/
  
***************
*** 123,126 ****
--- 124,131 ----
  	public void run()
  	{
+ 		if (_dataStore != null && _dataStore.getClient() != null) {
+ 			_dataStore.getClient().getLogger().logInfo(this.getClass().toString(), "SecuredThread.run()..."); //$NON-NLS-1$
+ 		}
+ 		
  		try
  		{
***************
*** 136,139 ****
--- 141,148 ----
  
  		super.run();
+ 		
+ 		if (_dataStore != null && _dataStore.getClient() != null) {
+ 			_dataStore.getClient().getLogger().logInfo(this.getClass().toString(), "... end of SecuredThread.run()"); //$NON-NLS-1$
+ 		}
  	}