Patent ID: 7769734
Filing Date: 2010-08-03
Classification: G06F

Abstract:
1. A method for managing long-lived resource locks comprising: periodically clearing stale locks in memory in a computer for corresponding work items accessed by worker tasks executing in memory in the computer by identifying a lock time for each of said corresponding work items, querying a registry to identify worker tasks assigned to work items, updating a lock time to a current time for each of said work items which are assigned to said worker tasks, determining whether an elapsed time since said lock time for each of said corresponding work items exceeds a lock expiration time, clearing a lock flag for each of said corresponding work items for which said elapsed time exceeds said lock expiration time, and repeating said querying, updating, identifying, determining and clearing periodically; and, periodically asserting locks on work items in memory in the computer on behalf of accessing worker tasks to avoid a clearing of said asserted locks as stale locks in memory in the computer.