What is Difference between thread and process?
Answers were Sorted based on User's Feedback
Answer / venkatesh.t
thread is an independent flow of control within a process,composed of context and a sequence of instructions to execute.All process consists of at-least one thread
process is a running program,a program under execution.it is an active entity on a machine.A process has a context and a state
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajdeep gupta
Process is the execution of program.
If a program has different state execution then it is know as thread.
We can say that process is also a light weight thread.
ex - we work on MS-WORD then we type char simultaneously auto save the document and spell check , is a good example of thread.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vineet
thread is a light weight process and process is heavy
weight means to say process occurs many threads and
superset of threads and also says threads are sub set of
process
Is This Answer Correct ? | 5 Yes | 9 No |
Answer / kammari.krishnaiah
A programm in execution,as mentioned is a process.A time
share user program such as a complier is a process.
A thread is contain a peace of code and each processor
contain the one or more threads.
Is This Answer Correct ? | 25 Yes | 35 No |
Answer / 6209
simply say thread is a light weight process(flow of
execution throw the process code)....
but process is heavy weight(heavey weight) process
Is This Answer Correct ? | 48 Yes | 65 No |
Answer / ashish sharma
Process is a seprate one and a thread is pa part of any process .Process can't communicate other processes but thread do it easily
Is This Answer Correct ? | 25 Yes | 47 No |
What are dynamic loading?
How do I check for memory leaks?
Will increasing ram speed up my laptop?
Why do we need inter process communication?
What are the two main types of files?
If A>B then F=F(G); else B>C then F=G(G); in this , for 75% times A>B and 25% times B>C then,is 10000 instructions are there ,then the ratio of F to G [a] 7500:2500 [b] 7500:625 [c] 7500:625 if a=b=c else 7500:2500
How does dynamic loading aid in better memory space utilization?
What does af_inet stand for?
Explain the booting process of a windows xp system.
Tell me what are the rings in windows nt?
Describe the objective of multiprogramming.
How do you tell if your os is corrupted?