×

REUSABLE, OPERATING SYSTEM AWARE HARDWARE MUTEX

  • US 20080005741A1
  • Filed: 08/01/2006
  • Published: 01/03/2008
  • Est. Priority Date: 06/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A system for sharing a plurality of hardware resources in a computer system able to run a plurality of software tasks, comprising:

  • (a) a mutexes controller having a locked mutex cache to store a list of records each including a mutex ID tag and a waiter flag;

    (b) a lock register and an unlock register that are each read able by said mutexes controller and load able by the software tasks with a mutex ID specifying one of the hardware resources; and

    (c) said mutexes controller being further to;

    (1) monitor whether said lock register has been loaded with a said mutex ID and then;

    (A) determine whether said mutex ID corresponds with a said mutex ID tag of a said record present in said locked mutex cache; and

    (B) if so, to set said waiter flag of said record;

    or(C) if not so, to add a said record to said locked mutex cache having a said mutex ID tag that corresponds with said mutex ID; and

    (2) monitor whether said unlock register has been loaded with a said mutex ID and then;

    (A) determine whether said mutex ID corresponds with a said mutex ID tag of a said record presently in said locked mutex cache; and

    (B) if so, determine whether said waiter flag of said record is set and, if so, to clear said record from said locked mutex cache.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×