7. Multi Threading.pdf - JAVA Means DURGA SIR 36 nd...

This preview shows page 1 - 4 out of 48 pages.

JAVA Means DURGA SIR 36 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 |
Image of page 1

Subscribe to view the full document.

JAVA Means DURGA SIR 37 DURGASOFT, # 202,2 nd Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038, 040 – 64 51 27 86, 80 96 96 96 96, 9246212143 | Multi Threading Agenda 1. Introduction. 2. The ways to define, instantiate and start a new Thread. 1. By extending Thread class 2. By implementing Runnable interface 3. Thread class constructors 4. Thread priority 5. Getting and setting name of a Thread. 6. The methods to prevent(stop) Thread execution. 1. yield() 2. join() 3. sleep() 7. Synchronization. 8. Inter Thread communication. 9. Deadlock 10. Daemon Threads. 11. Various Conclusion 1. To stop a Thread 2. Suspend & resume of a thread 3. Thread group 4. Green Thread 5. Thread Local 12. Life cycle of a Thread Introduction Multitasking: Executing several tasks simultaneously is the concept of multitasking. There are two types of multitasking's. 1. Process based multitasking. 2. Thread based multitasking.
Image of page 2