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 process task and threads
and what are the things that are acquired by the child
process from the parent process

Answer Posted / kiran kumar yakkala

process-independent flow of control,created by fork
(),copies the address space of parent process(all the
contents of parent process i.e data,text,bss ..),resources
are too many, scheduled by system scheduler(cpu)

thread-independent flow of control,created by pthread or
kthreads, resources are less(just pid,ppid,own stack..)so
thats why light weight process, scheduled by thread library
which you are using (ex. pthread , kthread).

usually process can have any no of threads
but threads cannot have process( general rule).

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Form Local Addresses?

1423


How to Bind Addresses to a Socket?

1362


What is the use of PF_INET and SOCK_DGRAM?

1404


Can a socket have multiple connections?

834


How to Specify the Domain of a Socket?

1474


How to Obtaine the Socket Address?

1454


How to Perform Endian Conversions?

1376


What are sockets used for?

817


How to perform I/O on Sockets?

1445


What is socket linux?

845


How to Specify an X.25 Address?

1516


What are Anonymous Calls?

1358


How to Manipulate IP Numbers?

1342


How to Bind a Specific Interface Address?

1594


How to Close Sockets?

1464