system safe state

This is a discussion on system safe state within the C Programming forums, part of the General Programming Boards category; Hi guys just a general question what does it mean to initialize your system to a safe state. How could ...

  1. #1
    Musicman - Canora
    Join Date
    Aug 2005
    Location
    Melbourne
    Posts
    252

    system safe state

    Hi guys just a general question what does it mean to initialize your system to a safe state. How could you do that in C and what does it mean by that i think its in terms of loading data files not sure does anyone know?

  2. #2
    Registered User
    Join Date
    Sep 2005
    Posts
    19
    Safe State is to the best of my knowledge is related to Oprating system. A OS is said to be in a safe state if no resources that are demanded by the process locked. By locked we mean that the OS can make available these resources already booked by some other process by satisfying them.
    Suppose we have 2 resources which have 3 units each ( A and B, with 3 units each)
    Process 1 has 2 A's and 1 B.
    Similarly 2 has 1 A'a and 1 B.

    Free = 1 B.

    Now 1 and 2, both, need 2 A's and 3 B's to complete. Then system is safe coz first A can complete and release its resources and then B can complete. This is also called deadlock management. I hope the question was in this context.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class Design question.
    By g4j31a5 in forum C++ Programming
    Replies: 10
    Last Post: 11-08-2006, 10:28 PM
  2. input/switch statement issues
    By peanut in forum C Programming
    Replies: 5
    Last Post: 10-27-2006, 03:58 PM
  3. NAQ: Everything you never wanted to know about CPP
    By evildave in forum C Programming
    Replies: 21
    Last Post: 12-12-2005, 10:56 AM
  4. Opinions on custom system build
    By lightatdawn in forum Tech Board
    Replies: 2
    Last Post: 10-18-2005, 05:15 AM
  5. BIOS system and memory allocation problem
    By beely in forum Tech Board
    Replies: 9
    Last Post: 11-25-2003, 07:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21