z/OS XL C/C++ built-in functions for transactional memory facilities
JinYanChen 270001BY3P Visits (1495)
z/OS V1R13 XL C/C++ September 2012 PTF provides compiler built-in function for programmers to access the transactional memory facilities that are shipped with IBM zEnterprise® EC12 (zEC12) hardware.
Transactional memory is a model for controlling concurrent memory accesses in the scope of parallel programming. In this model, you can designate a block of instructions or statements to be treated atomically. Such a block is called a transaction. For parallel programming, a transaction implementation can be tremendously more efficient than other implementation methods. z/OS XL C/C++ built-in functions provide the ability to mark the beginning and end of transactions, and to diagnose the reasons for failure. All the functions and types are defined in builtins.h.
The prototypes of the built-in functions are as follows:
You can find details about thes
Hope you’ll find it useful.