What is the difference between a 'thread' and a 'process'?

Answer Posted / satchi

A process is a collection of virtual memory space, code,
data, and system resources. A thread is code that is to be
serially executed within a process. A processor executes
threads, not processes, so each application has at least
one process, and a process always has at least one thread
of execution, known as the primary thread

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the crontab?

543


What is sudo command?

553


What are the advantages of using shell scripts?

586


What will happen to my current process when I execute a command using exec?

536


Write a command sequence to find the count of each word?

542






How do I stop script errors?

575


Give some situations where typing error can destroy a program?

724


What is the use of break command?

589


madhar chod unix ke 10 commands dhang se likh nahi sakta hai

2975


What is sh in shell script?

575


How will you copy a file from one machine to other?

546


How do I run a shell script on a mac?

629


What is @echo off?

569


Explain about stdin, stdout and stderr?

635


What is the conditional statement in shell scripting?

660