Invention Grant
- Patent Title: System and method for supporting resource enlistment synchronization
- Patent Title (中): 支持资源招募同步的系统和方法
-
Application No.: US12961282Application Date: 2010-12-06
-
Publication No.: US08327375B2Publication Date: 2012-12-04
- Inventor: Alexander J. Somogyi
- Applicant: Alexander J. Somogyi
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Fliesler Meyer LLP
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F12/00

Abstract:
A system uses a transaction manager for supporting resource enlistment synchronization on an application server with a plurality of threads. This system also includes a plurality of wrapper objects, each of which wrapper object wraps a resource object associated with the application server. Upon receiving a request from a thread to enlist a resource object in a transaction, the transaction manager first checks with a wrapper object that wraps the resource object to see if there is a lock being held on the resource object by another said thread in another said transaction. If there is a lock, the transaction manager allows the thread to wait and signal the thread once the lock is freed by another said thread in another said transaction. Otherwise, the transaction manager grants a lock to the thread and holds the lock until an owner of the thread delists the resource object.
Public/Granted literature
- US20110078687A1 SYSTEM AND METHOD FOR SUPPORTING RESOURCE ENLISTMENT SYNCHRONIZATION Public/Granted day:2011-03-31
Information query