摘要 |
FIELD: physics, computer engineering.SUBSTANCE: invention relates to microprocessor systems with shared memory. The processing system includes transactional memory, first and second resource managers, and a transaction manager for a concurrent program having a thread including an atomic transaction having an action with a side effect. The first resource manager is configured to enlist in the atomic transaction and manage a resource related to the action with a side effect. The second resource manager is configured to enlist in the atomic transaction and manage the transaction memory. The transaction manager is connected to the first and second resource managers and manager is configured to receive a vote from the first and second resource managers as to whether to commit the transaction. The action with a side effect is postponed until after the transaction commits or applied along with a compensating action to the action with a side effect.EFFECT: high efficiency of managing an atomic transaction having an action with a side effect.20 cl, 3 dwg |