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
What is the use of SOCK_DGRAM Socket Type?
How TCP/IP Handles Sequencing?
How to Reply to a Wild Address?
What are Address Conversion Functions?
What is the use of inet_addr() Function?
How to Perform Input/Output of Datagrams?
What does socket consist of?
How to look up a Service by Port and Protocol?
What is the difference between socket & port?
How to open socket file in linux?
How to read socket file in linux?
How to Manipulate IP Numbers?
What is the use of SOCK_STREAM Socket Type?
How TCP/IP Handles Lost Packets?
What is socket file in linux?