tell me similarities between thread and process

Answers were Sorted based on User's Feedback



tell me similarities between thread and process..

Answer / khushi

Both have a parent process.
process has a process id same way thread has a thread id.
We can create a process within a process same way we can
create a thread within a thread
both process and thread has priorities.

Is This Answer Correct ?    65 Yes 4 No

tell me similarities between thread and process..

Answer / sah

- 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

Is This Answer Correct ?    8 Yes 8 No

tell me similarities between thread and process..

Answer / sairam

Thread is a light weight process that is the only
comparision.otherwise you cannot compare both
regards
sairam kulkarni

Is This Answer Correct ?    17 Yes 19 No

tell me similarities between thread and process..

Answer / david

Asking for the similarities is the wrong question to ask. The real question should be what is the relationship.

a thread is contained inside a process. Multiple threads can exist within the same process and share resources such as memory, while different processes do not share these resources.

A Process is an instance of a computer program, consisting of one or more threads.

Is This Answer Correct ?    8 Yes 14 No

Post New Answer

More Unix Threads Interview Questions

What are the main families of threads?

1 Answers  


what are the Architectural differences between User-space threads, and Kernel-supported threads.

1 Answers  


tell me similarities between thread and process

4 Answers   Tanla Solutions,


If your server is running on Unix and one of the sessions are keep on running without loading any data. how would you kill it?

0 Answers  


What are the different kinds of threads?

3 Answers   Ericsson, Fashion Technology,






Explain what is protection boundary?

0 Answers  


When should we use thread-safe "_r" library calls?

2 Answers  


Explain similarities between thread and process?

0 Answers  


What is the working set of a process?

0 Answers  


Explain the performance differences between user-space threads and kernel-supported threads.?

0 Answers  


how to edit the network interface device type in container(zone) in solaris 10?

2 Answers   TCS,


Explain the different kinds of threads?

0 Answers  


Categories