×

Method and apparatus for automatically managing concurrent access to a shared resource in a multi-threaded programming environment

  • US 6,598,068 B1
  • Filed: 01/04/1996
  • Issued: 07/22/2003
  • Est. Priority Date: 01/04/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for sharing a resource between a plurality of threads of a multi-threaded program, the method comprising the steps of:

  • (A) causing a first thread of said plurality of threads to perform the steps of (A1) acquiring a resource lock associated with said resource;

    (A2) holding said resource lock until detecting that another thread of said plurality of threads requires use of said resource;

    (A3) in response to detecting that another thread of said plurality of threads requires use of said resource, performing the steps of (a) finishing any use of said resource;

    (b) releasing said resource lock; and

    (c) requesting said resource lock.

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