Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Process 1
- code {instructions}
- data {global varibales}
- stack {f-->f-->}
- Process 2
- code {instructions}
- data {global varibales}
- stack {f-->f-->}
- 1)
- When program moves to RAM its called Process
- Thread is ligh weight Process
- 2)Three separate sections
- Code common data,stack separate
- 3)Thread less time
- processs more time
- 4) Thread is less secure
- Process is more secure
- 5)When executing system call process needs to move from usermode kernal mode
- When executing system call thread doesnt need to move from usermode kernal mode
- SO thread is faster
- Thread
- code
- data data data
- stack stack stack
Advertisement
Add Comment
Please, Sign In to add comment