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 / amit

What is the difference between a process task and threads ?

process and task as synonymous. One or more threads
together form a process. The threads, two or more belong to
same process, share same address space of the process and
can access all the global variable of the process.
Where as two processes can't access each other's address
space and hence cant access their global variable. Two
processes can talk with each other using IPC.

what are the things that are acquired by the child
process from the parent process?

File descriptors [including socket descriptor].
The whole text segment.
Environment variables.
PPID is PID of parent process.

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of inet_addr() Function?

1433


How does socket communication work?

876


How to Form Local Addresses?

1415


How to open socket file in linux?

1018


What does socket consist of?

817


What is socket and how it works?

884


What is the use of PF_INET and SOCK_STREAM?

1326


What is the use of recvfrom(2) Function?

1518


How to Perform Endian Conversions?

1367


How to Define a Socket?

1372


HOW TCP/IP Handles Duplicated Packets?

1615


What is socket connection?

849


What is the use of PF_INET and SOCK_DGRAM?

1404


How TCP/IP Handles Flow Control?

1590


What is the difference between socket and port?

943