Wants to terminate a timer's task execution thread rapidly, the caller So it is capable of keeping an application from terminating. Byĭefault, the task execution thread does not run as a daemon thread, However, this can take arbitrarily long to occur. Turn, delay the execution of subsequent tasks, which may "bunch up" andĮxecute in rapid succession when (and if) the offending task finallyĪfter the last live reference to a Timer object goes awayĪnd all outstanding tasks have completed execution, the timer's taskĮxecution thread terminates gracefully (and becomes subject to garbageĬollection). To complete, it "hogs" the timer's task execution thread. Thread that is used to execute all of the timer's tasks, sequentially. Tasks may be scheduled for one-time execution, or forĬorresponding to each Timer object is a single background A facility for threads to schedule tasks for future execution in aīackground thread.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |