No unless you issue a method setDeamon(true) then the thread becomes deamon(user Threads)
Val SCJP <BR>going for SCJD
Joined: Feb 01, 2001
user threads are non-daemon threads. What i wanted to know is that whether all the threads run by the JVM on the background (eg. we know gc is a daemon thread) are daemon threads.
Joined: Jan 26, 2001
Ok i dind' tget your question , and i am not doing well with threads yet. But is this a user Thread if i create my own ? Thread d = new Thread(this); d.setDeamon(true); d.start(); Now is this a deamon thread ? I believe it comes a deamon and isn't it a user thread ?
hi priya, main thread is not a demon thread,but what about other threads that run in the background. eg the ReferenceHandler thread,the Signal dispatcher thread etc.... as the JVM is said to start four threads for an application in the absence of a GUI. could u please throw some light on this. Vijay Pillai