fhanik 2003/03/05 15:54:48 Modified: modules/cluster/src/share/org/apache/catalina/cluster/mcast McastServiceImpl.java modules/cluster/src/share/org/apache/catalina/cluster/tcp SimpleTcpCluster.java Log: Made all the threads daemon threads Revision Changes Path 1.2 +6 -4 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java Index: McastServiceImpl.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/mcast/McastServiceImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- McastServiceImpl.java 19 Feb 2003 20:32:10 -0000 1.1 +++ McastServiceImpl.java 5 Mar 2003 23:54:47 -0000 1.2 @@ -182,7 +182,9 @@ socket.joinGroup(address); doRun = true; sender = new SenderThread(sendFrequency); + sender.setDaemon(true); receiver = new ReceiverThread(); + receiver.setDaemon(true); receiver.start(); sender.start(); } 1.5 +5 -4 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/SimpleTcpCluster.java Index: SimpleTcpCluster.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/SimpleTcpCluster.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- SimpleTcpCluster.java 22 Feb 2003 00:46:22 -0000 1.4 +++ SimpleTcpCluster.java 5 Mar 2003 23:54:47 -0000 1.5 @@ -459,6 +459,7 @@ this.tcpThreadCount, this.tcpAddress, this.tcpPort); + mReplicationListener.setDaemon(true); mReplicationListener.start(); mReplicationTransmitter = new ReplicationTransmitter(new SocketSender[0]); mReplicationTransmitter.start();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]