Concurrency management in cluster computing of business applications
A system and method for concurrency management in an environment, in which a common pool of objects is shared by multiple users. A virtual lock owner is created for a main thread of a processing task. The main thread spawns parallel threads to update the objects in the common pool with locks. The vi...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | English |
Published |
06.03.2012
|
Online Access | Get full text |
Cover
Loading…
Summary: | A system and method for concurrency management in an environment, in which a common pool of objects is shared by multiple users. A virtual lock owner is created for a main thread of a processing task. The main thread spawns parallel threads to update the objects in the common pool with locks. The virtual lock owner is passed to each parallel thread. Each thread (including the main thread) is associated with a thread dependent lock indicator identified by the virtual lock owner. The lifetime of the thread dependent lock indicator is coupled with the lifetime of the associated thread. The virtual lock owner is also associated with a thread independent lock indicator that has a lifetime independent of the lifetime of the main thread. Thus, the parallel threads can perform object update with lock protection even if the main thread aborts. |
---|