Professional Documents
Culture Documents
threads:
Executing some part of the process.
Threads are light weight process.
Shared the same address space of process.
===================================================================================
================
life cycle if threads
1. Newborn state
2. running state
3. runnable state
4. blocked state
5. dead state
===================================================================================
===============
cteating threads:
1. by extending "thread" class
2. immplementing "runnable" interface
===================================================================================
=================
===================================================================================
=================
===================================================================================
=================
Batch os
interactive os
multiprogramming os
multiprocessing os
multitasking os /time sharing os
multi user os
multithreading os
real time os
distributed os