×

Protocols for locking sharable files and methods for carrying out the protocols

  • US 6,633,870 B1
  • Filed: 09/13/2000
  • Issued: 10/14/2003
  • Est. Priority Date: 09/13/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for locking a file, the method comprising:

  • checking for open instances of the file;

    determining whether open instances have a bit of a bitmap associated with the open instances set to true;

    if no open instance has the bit set to true, the method includes, setting an exclusive bit in a bitmap of the file to true to prevent another open of the file;

    setting the exclusive bit in each bitmap of the open instances to true to prevent another open of the file;

    whereby the setting of the exclusive bit in each bitmap of the open instances to true has the effect of locking the instances of the file while still enabling access to the file that initiated the setting of the exclusive bit; and

    if an open instance does have the bit set to true, the setting of the exclusive bit in a bitmap of the file to true will fail, thus preventing locking of the file.

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