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 are the different types of sockets?

836


What is AF_UNSPEC Address?

2209


What is a socket in linux?

875


How to Test with No Server?

1424


How to Deal with Duplicated Sockets?

1467


How to Understand Network Byte Order?

1316


What are sockets used for?

759


How does socket communication work?

820


How to Understand Netmask Values?

1252


How to Bind a Specific Interface Address?

1504


How to Test with Other IP Numbers?

1446


What are Reserved IP Numbers?

1318


Are sockets full duplex?

751


What are the Advantages of TCP/IP?

1524


What is the difference between socket & port?

839