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 Difference between thread and process?

Answer Posted / ankit tripathi

Technically, a thread is defined as an independent stream
of instructions that can be scheduled to run as such by the
operating system.
So, in summary, in the UNIX environment a thread:
o Exists within a process and uses the process
resources
o Has its own independent flow of control as long as
its parent process exists and the OS supports it
o Duplicates only the essential resources it needs to
be independently schedulable
o May share the process resources with other threads
that act equally independently (and dependently)
o Dies if the parent process dies - or something
similar
o Is "lightweight" because most of the overhead has
already been accomplished through the creation of its
process.


Whereas in case of process, every process has its own
memory management, two process cannot communicate without
using IPCS or Sockets, they do not share resources and
every process has its own process ID(pid).

Is This Answer Correct ?    65 Yes 40 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the full form itc?

901


What do you mean by ram?

978


Which technology does Pentium use - RISC or CISC?

965


What is critical section problem?

993


At what mode the fault handler executes?

1014


A pair of redundant systems are operating, how would you ensure that when one of them goes down, the other one will take over its operation?

1056


What are the basic functions of file management in os?

945


What are starvation and aging?

1040


Briefly explain FCFS.

1113


what are the softwares helping for auditing poblems?

1862


What is synchronous and asynchronous process?

952


Can chkdsk get stuck?

929


Are there any problems that the cpu faces? Have any measures been taken to make it more efficient?

1239


Command Kill any user’s all processes.

954


What are the primary functions of VFS?

1144