Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / seshadri sethi

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. A process can have
multiple threads in addition to the primary thread

Thread – is stream of executable code within process. They
are light weight process. All thread with in a process
share process instruction,code & data segment,open file
descriptor,signal handler,userID and GroupID. Thread has its
own set of register including program counter,stack pointer

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is computer cli?

952


How do I open the shell prompt?

1244


What lives in a shell?

1007


What are the different types of shell scripting?

1172


What language is used in terminal?

1025


How does ls command work?

1078


How can you find out how long the system has been running?

940


What is eval in shell script?

1325


How to check if a directory exists?

1270


What is shell scripting?

1097


What is the significance of the shebang line in shell scripting?

1197


How do I debug a shell script?

1124


How to get script name inside a script?

1063


How do you create a shortcut in linux?

1262


How do I set bash as default shell mac?

1051