If i start a new thread in servlet doget() method to do some task asynchronously, will that return the current httprequest processing thread into the server's pool or will it depend on the child thread ?
Author and all-around good cowpoke
Joined: Mar 22, 2000
If you start a new Thread it will exist independently of the container Thread pool unless you deliberately program otherwise.
There is no such relationship as a "child" Thread - see the java.lang.Thread Javadocs.