The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Mar. 10, 2020

Filed:

Aug. 01, 2016
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Bjoern Broll, Waldenbuch, DE;

Sabine Perathoner-Tschaffler, Nufringen, DE;

Stefan Renner, Stuttgart, DE;

Knut Stolze, Hummelshain, DE;

Attorneys:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06F 16/21 (2019.01); G06F 16/23 (2019.01);
U.S. Cl.
CPC ...
G06F 16/2343 (2019.01); G06F 16/2365 (2019.01);
Abstract

Disclosed herein are methods for receiving a command for adding or removing a resource in a database and acquiring an exclusive lock for the database in response the command. In response to obtaining the exclusive lock, the method comprises determining a first number indicating the number of resources currently existing in the database and a second number indicating the number of resources subject to concurrent further commands for adding or removing a resource; comparing the first and the second number for determining whether the received command will remove the last existing resource or add a first resource to the database; and obtaining an exclusive or a shared lock for the received command in dependence on the determination. The method further includes releasing the exclusive lock for the database and adding or removing the resource while holding the lock obtained for the received command.


Find Patent Forward Citations

Loading…