Patent ID: 8799909

Claim:
A method comprising: sending, by a data processing system, a transaction request for a transaction, the transaction request comprising an indicator that indicates whether the transaction is synchronous or asynchronous, the transaction being processed based on the indicator included in the transaction request, the transaction request further comprising a thread identifier of a thread associated with the transaction request, and the thread being associated with a synchronous result register and an asynchronous result register; receiving, by the data processing system, a transaction reply for the transaction, the transaction reply comprising the indicator and the thread identifier; determining, by the data processing system, whether the transaction is synchronous or asynchronous based on the indicator that is included in the transaction reply; determining, by the data processing system, that the transaction reply includes an error message that indicates that an error occurred during a processing of the transaction; and placing, by the data processing system and based on the thread identifier, the error message into the synchronous result register when the transaction is synchronous, the error message being a result of synchronous processing of the transaction when the transaction is synchronous, and the data processing system placing the error message into the asynchronous result register when the transaction is asynchronous.