process state

Discussion in 'Unix' started by paradise, May 2, 2010.

  1. paradise

    paradise New Member

    Joined:
    Apr 5, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    A photo management program is executed.hence , a new process (namely process P)is created.the program will first copy all new photos from a digital camera before it can perform any operation to the photos.While the program is waiting for the file to be copied,operating system switches the execution to another process(namely process C).however process A must be swapped out from main so that the free memory is large enough to execute process C.When the copy operation is completed,process C is interrupted as its time slice exhausted .Process P continues after a while and it executes until it terminated .

    List the state transition of process P based on 7 state model

    ans :new->ready
    ready->running
    running->blocked
    blocked->ready
    ready->running
    running->ready
    ready->running
    running->exit


    hello everyone,am i answer this question correctluy
     
  2. geripaul8512

    geripaul8512 New Member

    Joined:
    Jul 10, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice