https://issues.apache.org/bugzilla/show_bug.cgi?id=47881

--- Comment #4 from qingyang.xu <qingyang...@qunar.com> 2009-10-09 02:00:01 PDT 
---
(In reply to comment #3)
> With "startd", as there is no "await", the method completes immediately (and
> the application quits).
> 
> That it is only useful if exiting that "main" method does not complete the
> application. Thus if it is not the actual entry point of the application. If
> so, does anyone need to use it that way?

Yes, you are totally right. After the main method ends, all the daemon threads
(such as 'http-8080-Acceptor-0', 'TP-Processor', etc.) will end too. I never
thought of this consequence. So, what's the point of 'startd' and 'stopd',
anyway?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to