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?
Submitted by: AdministratorProcess 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.
Submitted by: Administrator
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.
Submitted by: Administrator
Read Online Linux Socket Programming Job Interview Questions And Answers
Top Linux Socket Programming Questions
☺ | 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? |
☺ | What is the difference between fork() & exec()? |
☺ | What is the difference between socket & port? |
☺ | Why bind system call is required in socket programming? |
☺ | How to get client port number in server socket programming? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |