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

What is the use of setprotoent(3) Function?

1565


How to Allocate IP Addresses?

1530


How to Test with Other IP Numbers?

1495


Are udp sockets bidirectional?

816


Why socket programming is used?

863


How to Form Traditional Local Addresses?

1372


How to Specify an X.25 Address?

1503


How to use the socket(2) Function?

1506


What is the use of PF_INET or AF_INET?

1570


What is the use of PF_INET and SOCK_STREAM?

1317


How to open socket file in linux?

1007


What is AF_UNSPEC Address?

2243


What is the difference between socket and port?

935


What is the difference between socket & port?

891


What is the use of recvfrom(2) Function?

1506