Unix Threads Question:
Explain similarities between thread and process?
Answer:
- each process must have at least one thread running within it, and each thread must be running within a process.
- each process gets it own address space and memory allocation by OS, where as thread makes use of its parent process resources.
- when parent process dies, all its child process dies, but v-v is not true
- each process gets it own address space and memory allocation by OS, where as thread makes use of its parent process resources.
- when parent process dies, all its child process dies, but v-v is not true
Previous Question | Next Question |
How to edit the network interface device type in container(zone) in Solaris 10? | How to work UNIX commands on Windows XP without installing UNIX O/S in PC? |