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.
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