Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   What is daemon thread? (http://siteownersforums.com/showthread.php?t=167470)

Kunal 04-03-2016 10:58 PM

What is daemon thread?
 
Daemon thread is a low priority thread. It runs intermittently in the back ground, and takes care of the garbage collection operation for the java runtime system. By calling setDaemon() method is used to create a daemon thread.

sudeepkhana 04-17-2016 11:59 PM

Daemon thread is the thread that does not prevent JVM from exciting when the program finishes but the thread is still running.


All times are GMT -7. The time now is 10:36 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.