Invention Grant
- Patent Title: Synchronizing access to a shared resource utilizing selective locking
- Patent Title (中): 使用选择性锁定同步访问共享资源
-
Application No.: US11227032Application Date: 2005-09-15
-
Publication No.: US08225327B2Publication Date: 2012-07-17
- Inventor: David W. Mehaffy , Greg R. Mewhinney , Mysore S. Srinivas
- Applicant: David W. Mehaffy , Greg R. Mewhinney , Mysore S. Srinivas
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yudell Isidore Ng Russell PLLC
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/45 ; G06F17/00

Abstract:
A method and system for providing access to a shared resource utilizing selective locking are disclosed. According to one embodiment, a method is provided comprising receiving a request to perform a resource access operation on a shared resource, invoking a first routine to perform the resource access operation, detecting a data processing system exception generated in response to invoking the first routine, and invoking a second routine to perform the resource access operation in response to such detecting. In the described embodiment, the first routine comprises a dereference instruction to dereference a pointer to memory associated with the shared resource, the second routine comprises a lock acquisition instruction to acquire a global lock associated with the shared resource prior to a performance of the resource access operation and a lock release instruction to release the global lock once resource access operation has been performed.
Public/Granted literature
- US20070061810A1 Method and system for providing access to a shared resource utilizing selective locking Public/Granted day:2007-03-15
Information query