Daemon and non daemon threads

61 Views Asked by At

On googling I figured out the difference between daemon and non daemon thread is that Program exits even though the daemon threads are running in background.

In which scenario we would create non daemon threads , and if program exits without waiting for the thread to complete then what is the use of creating daemon threads.Since I am not a developer I don't know these stuffs,We have option to monitor live Thread counts in JON 3.3 .So I should decide what are the metrics to be monitored.. it would be helpful if I know lot in daemon and daemon threads

If there is good article please do suggest me.

0

There are 0 best solutions below