×

Method for specifying and verifying multi-threaded object-oriented programs with invariants

  • US 20060155905A1
  • Filed: 01/11/2005
  • Published: 07/13/2006
  • Est. Priority Date: 01/11/2005
  • Status: Active Grant
First Claim
Patent Images

1. A method of ensuring that invariants are preserved within a data structure, the method comprising:

  • executing multiple threads on a computer;

    a thread T1 acquiring a lock on a top hierarchical object;

    wherein acquiring the lock changes ownership to thread T1 of the top object;

    wherein ownership confers upon thread T1 the right to modify any field of the owned object; and

    wherein the lock excludes all other threads from accessing the top object and any descendant objects.

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