×

State-based object transition control and attribute-based locking

  • US 5,931,919 A
  • Filed: 11/07/1997
  • Issued: 08/03/1999
  • Est. Priority Date: 11/07/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for attribute based locking of an object, the method comprising:

  • receiving at a first object a request to perform a first action;

    write-locking of the first object by itself;

    transitioning of the first object from a first state to a transition state;

    unlocking the first object while in the transition state;

    spawning a first thread from the first object while in the transition state to perform operations in response to the first action;

    receiving at the first object in the transition state a write-lock request from the first thread, the first thread requesting special permission to write-lock the first object while the first object is in the transition state;

    receiving at the first thread a write-lock on the first object while the first object is in the transition state;

    completing the first action by transitioning the first object from the transition state to a non-transition state and unlocking the first object; and

    wherein threads not on the spawned thread will not be given locks on the first object in the transition state until the object is in the non-transition state.

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