H
HVPQ
Hi there,
I got asked this question during recent group discussion: "What is the
minimum number of threads that a simple non-threaded Java program,
like 'Hello World', has?". I answered "Two thread groups: the system
and main thread groups. In the main thread group, there is only 1 main
thread. In the system thread group, there are a garbage collector, a
signal dispatcher, an object reference handler, and a compile thread.
So there are five."
I believe there are more since the person who posed the question said
there are eight of them in total. Do you know? Please help.
Thanks,
HQ
I got asked this question during recent group discussion: "What is the
minimum number of threads that a simple non-threaded Java program,
like 'Hello World', has?". I answered "Two thread groups: the system
and main thread groups. In the main thread group, there is only 1 main
thread. In the system thread group, there are a garbage collector, a
signal dispatcher, an object reference handler, and a compile thread.
So there are five."
I believe there are more since the person who posed the question said
there are eight of them in total. Do you know? Please help.
Thanks,
HQ