xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-rpc/src/java/org/apache/xmlrpc WebServer.java
Date Tue, 13 Aug 2002 02:02:28 GMT
dlr         2002/08/12 19:02:28

  Modified:    src/java/org/apache/xmlrpc WebServer.java
  Log:
  start(): Marked the "XML-RPC Weblistener" thread as a daemon thread to
  assure the JVM will be able to shutdown if this thread is still
  running when System.exit() is called or an appropriate signal is sent.
  
  http://java.sun.com/j2se/1.3/docs/api/java/lang/Thread.html#setDaemon(boolean)
  
  Revision  Changes    Path
  1.12      +2 -1      xml-rpc/src/java/org/apache/xmlrpc/WebServer.java
  
  Index: WebServer.java
  ===================================================================
  RCS file: /home/cvs/xml-rpc/src/java/org/apache/xmlrpc/WebServer.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -u -r1.11 -r1.12
  --- WebServer.java	20 Mar 2002 15:11:03 -0000	1.11
  +++ WebServer.java	13 Aug 2002 02:02:28 -0000	1.12
  @@ -213,6 +213,7 @@
       public void start()
       {
           listener = new Thread(this, "XML-RPC Weblistener");
  +        listener.setDaemon(true);
           listener.start();
       }
   
  
  
  

Mime
View raw message