Thursday, July 16, 2009

Concept of Process

A.) Process State

  1. new: The process is being created.
  2. running: Instructions are being executed.
  3. waiting: The process is waiting for some event to occur.
  4. ready: The process is waiting to be assigned to a processorF terminated: The process has finished execution.

B.) Process Control Block

Information associated with each process.

  1. Process ID
  2. Process staten
  3. Program counter
  4. CPU registers
  5. CPU scheduling informationn
  6. Memory-management informationn
  7. Accounting informationn
  8. I/O status information

C.) Treands

  • thread of execution results from a fork of a computer program into two or more concurrently running tasks. The implementation of threads and processes differs from one operating system to another, but in most cases, a thread is contained inside a process. Multiple threads can exist within the same process and share resources such as memory, while different processes do not share hese resources.

No comments:

Post a Comment