Threads-process and task

Depict threads and process and task?

E

Expert

Verified

Process is an executing program with various components and proprieties.

  1. exec thread
  2. PID
  3. priority
  4. memory context
  5. environment
  6. file descriptors
  7. security credentials.

Processes started through a procedure called "fork and exec". That is while one command starts another, the child procedure first forks , the kernel copying over pages of memory through the present procedure to a new place for the child process. Then, The child execs, executing the new command and overwriting the data. The thread is which controls the flow of the procedure. A process required at least one thread.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.