Process states:
Running
Waiting:
Stopped
Zombie :Process died by its entries are still in the process table
Process has a virtual address space which is shared by threads it creates.
A running process has the following thread states :
Thread states:
Init
Ready/Runnable: TS_RUN
Running: TS_ONPROC
Sleeping: TS_SLEEP
Stopped: TS_STOPPED
zombie: TS_ZOMB
Threads inherit address space from parent process.
eg: fork. a child PID returns 0 if it is a thread.
Running
Waiting:
Stopped
Zombie :Process died by its entries are still in the process table
Process has a virtual address space which is shared by threads it creates.
A running process has the following thread states :
Thread states:
Init
Ready/Runnable: TS_RUN
Running: TS_ONPROC
Sleeping: TS_SLEEP
Stopped: TS_STOPPED
zombie: TS_ZOMB
Threads inherit address space from parent process.
eg: fork. a child PID returns 0 if it is a thread.
No comments:
Post a Comment