#12 give name to Daemon thread

closed
nobody
None
5
2004-04-02
2004-02-26
No

simple.util.process

public Daemon(ObjectQueue ready){
this.thread = new Thread(this);

this.setName("SimpleWeb Daemon");

this.ready = ready;
thread.start();
}

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hi,

    Just interested in what use this would have ?

    Niall

     
  • Nobody/Anonymous

    Logged In: NO

    In dump of thread list.

     
  • Denis Tsyplakov

    Denis Tsyplakov - 2004-03-09

    Logged In: YES
    user_id=978316

    For example I can view such info
    -----------------------------------
    FreeMemory: 3316032
    MaxMemory: 66650112
    TotalMemory: 8777728
    Thread info:
    main [ Alive ] class: java.lang.
    Thread
    StandardManager[/manager] [ Alive Daemon ]
    class: java.lang.Thread
    StandardManager[/test_akm] [ Alive Daemon ]
    class: java.lang.Thread
    Thread-2 [ Alive ] class: java.util.
    TimerThread
    Thread-3 [ Alive ] class: java.lang.
    Thread
    Thread-4 [ Alive Daemon ] class:
    java.util.TimerThread
    Thread-5 [ Alive ] class: simple.http.
    load.Processor
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Simple web server thread [ Alive ] class: java.
    lang.Thread
    Thread-26 [ Alive ] class: java.lang.
    Thread
    Thread-27 [ Alive ] class: java.lang.
    Thread
    Thread-28 [ Alive ] class: java.lang.
    Thread
    Thread-29 [ Alive ] class: java.lang.
    Thread
    Thread-30 [ Alive ] class: java.lang.
    Thread
    Thread-31 [ Alive ] class: java.lang.
    Thread
    Thread-32 [ Alive ] class: java.lang.
    Thread
    Thread-33 [ Alive ] class: java.lang.
    Thread
    Thread-34 [ Alive ] class: java.lang.
    Thread
    Thread-35 [ Alive ] class: java.lang.
    Thread
    Itaka logs SendingThread [ Alive ] class: ru.
    sterling.io3.log.LogModule$SendingThread
    Thread-37 [ Alive ] class: simple.http.
    connect.Processor
    StandardManager[] [ Alive Daemon ] class:
    java.lang.Thread
    HostConfig[localhost] [ Alive Daemon ] class:
    java.lang.Thread
    HttpConnector[80] [ Alive Daemon ] class:
    java.lang.Thread
    HttpProcessor[80][0] [ Alive Daemon ] class:
    java.lang.Thread
    HttpProcessor[80][1] [ Alive Daemon ] class:
    java.lang.Thread
    HttpProcessor[80][2] [ Alive Daemon ] class:
    java.lang.Thread
    HttpProcessor[80][3] [ Alive Daemon ] class:
    java.lang.Thread
    HttpProcessor[80][4] [ Alive Daemon ] class:
    java.lang.Thread
    Thread-38 [ Alive Daemon ] class:
    java.lang.Thread

     
  • Niall Gallagher

    Niall Gallagher - 2004-04-02
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks