Learn Android for Free,issues for developers, mobengineers website provide complete solutions for developers issues posts.It also provides online training for android development

Thursday, February 7, 2013

Internal Flow of Threads or Thread Model

    whenever we write multi threading application, it contains multiple flow of controls.
All the flow controls follow the sequence steps at execution time.


Java programs starts execution by loading .class file

JVM creates a background thread and will reside in main.

Background thread creates various foreground threads and dispatches to their run to execute and result back to background and will handover to garbage.
Background thread gives back to program.
JVM collects background thread and will handover to Garbage collector.
Java program stops its execution.

0 coment�rios:

Post a Comment

20% off

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

NDTV Gadgets360

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts