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

Why is 64 bit called x86?

1040


Explain the resident set and working set of a process?

1154


What is the use of chkdsk f?

1106


Why is a single serial port managed with a single interrupt-driven i/o but a front-end processor is managed using a polling i/o, such as a terminal concentrator?

1055


Explain some memory components.

1060


Is 32 bit obsolete?

1016


What is drawback of mvt?

1223


Name the different types of memory?

1069


Why paging is used in os?

1090


What advantage is there in having different time-quantum sizes on different levels of a multilevel queuing system?

1380


What is a sector?

1068


Explain Marshalling?

1102


What is the purpose of system programs?

1163


Command Kill any user’s all processes.

1045


Explain 32 bit application/OS vs 64 application/OS?

986