Name: Mati ur rehman
Roll no: 35
Subject: Operating system
 How one process can pass information to other
 A process is a running program.
 A process includes the program code and its
state.
 A single process consists of one or more thread.
 Multitasking , A single CPU can run multiple
processes at same time.
CREATED WAITING
RUNNING TERMINATED
Created:
The process state be created
which mean that is the loaded from
disk to main memory.
Waiting:
The process waiting for the
O.S schedulor software to load.the
process to at processor.
Running:
That the processor executing
the process instruction.
Terminated:
That the processes
complete in ready to be on
loaded from the main memory
 A thread is an independent sequence of
instruction.
 A thread is created by a process.
 A thread is a subset of the process.
 Multiple thread share the process instruction
process variable & process state.
Passing information is easy for threads
since they share a common address space
(threads in different address spaces that
need to communicate fail under the
heading of communicating processes).
Presentation of  thread

Presentation of thread

  • 1.
    Name: Mati urrehman Roll no: 35 Subject: Operating system
  • 2.
     How oneprocess can pass information to other
  • 3.
     A processis a running program.  A process includes the program code and its state.  A single process consists of one or more thread.  Multitasking , A single CPU can run multiple processes at same time.
  • 4.
  • 5.
    Created: The process statebe created which mean that is the loaded from disk to main memory. Waiting: The process waiting for the O.S schedulor software to load.the process to at processor.
  • 6.
    Running: That the processorexecuting the process instruction. Terminated: That the processes complete in ready to be on loaded from the main memory
  • 7.
     A threadis an independent sequence of instruction.  A thread is created by a process.  A thread is a subset of the process.  Multiple thread share the process instruction process variable & process state.
  • 8.
    Passing information iseasy for threads since they share a common address space (threads in different address spaces that need to communicate fail under the heading of communicating processes).