1. A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising: providing an object model for transactional memory, the object model allowing transaction syntax to be separated from program flow.