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 / dheeraj gahtori

Process is an executing program with several components and
proprieties.
1.exec thread
2. PID
3. priority
4. memory context
5. enviornment
6. file descriptors
7. security credentials.
processes began through a process called "fork and exec".
that is when one command starts another, the child process
first forks , the kernel copying over pages of memory from
the present process to a new location for the child process.
The child then execs, executing the new command and
overwriting the data.the thread is , which controls the flow
of the process. A process needs at least one thread.

Is This Answer Correct ?    6 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sockets in linux?

897


How to Close Sockets?

1448


How to look up a Service by Port and Protocol?

1509


Can a socket have multiple connections?

817


How to Perform Input/Output of Datagrams?

1434


What is the use of setprotoent(3) Function?

1564


What is socket and how it works?

874


Are sockets bidirectional?

791


How TCP/IP Handles Lost Packets?

1622


What is the difference between socket and port?

934


What is AF_UNSPEC Address?

2241


How to Write a UDP Datagram Server?

1304


How to Specify the Domain of a Socket?

1460


How to Examin the /etc/services File?

1624


What is socket connection?

843