×

Read lock and write lock management system based upon mutex and semaphore availability

  • US 6,029,190 A
  • Filed: 09/24/1997
  • Issued: 02/22/2000
  • Est. Priority Date: 09/24/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for simulating a read/write lock comprising:

  • obtaining a read lock for a plurality of reader threads given a first condition occurs, the first condition comprising the availability of a mutex, said mutex comprising a single object that can be waited upon simultaneously by said plurality of reader threads and a plurality of writer threads; and

    obtaining a write lock for a single writer thread given that a second condition occurs, the second condition comprising the simultaneous availability of a mutex and a semaphore, said semaphore comprising a single object that can be waited upon simultaneously by a plurality of writer threads.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×