Daemon thread in java | Daemon thread example

preview_player
Показать описание
Daemon thread in Java are those thread which runs in background and mostly created by JVM for performing background task like Garbage collection and other house keeping tasks.
Important Points about Daemon threads:
1.Daemon threads executes at a low priority.
2.Daemon threads are threads that run intermittently in the background as long as other
non-daemon threads are running.
3.When all of the non-daemon threads complete, daemon threads terminates automatically.
4.Daemon threads are service providers for user threads running in the same process.
Рекомендации по теме
join shbcf.ru