Patent ID: 8499298

Claim:
A multiprocessing transaction recovery manager, operable with a transactional application manager and a resource manager, comprising: a memory allocated to store a threadsafety indicator for receiving and storing a positive threadsafety data and a non-positive threadsafety data of at least one transactional component managed by one of said transactional application manager and said resource manager, wherein the positive threadsafety data confirms the multiprocessing recovery manager has no affinity to an application thread and the non-positive threadsafety data has affinity to the application thread; a commit protocol component for performing commit processing for said at least one transactional component; and a thread selector responsive to the positive threadsafety data for selecting a single thread for said commit processing to be performed by said commit protocol component, wherein said thread selector is further operable to select plural threads for said commit processing to be performed by said commit protocol component responsive to the non-positive threadsafety data and thread selector is further operable to select minimal plural threads for said commit processing to be performed by said commit protocol component responsive to a mixture of the positive threadsafety data and the non-positive threadsafety data stored for plural said transactional components by grouping threadsafe transactional components for said commit processing under a single thread.