GO-V.ORG
As seen in

Transactional memory

In computer science and engineering, transactional memory attempts to simplify concurrent programming by allowing a group of load and store instructions to execute in an atomic way.[src] It is a concurrency control mechanism analogous to database transactions for controlling access to shared memory in concurrent computing.[src] Transactional memory systems provide high-level abstraction as an alternative to low-level thread synchronization.[src] This abstraction allows for coordination between concurrent reads and writes of shared data in parallel systems.[src]

In computer science and engineering, transactional memory attempts to simplify concurrent programming by allowing a group of load and store instructions to execute in an atomic way.[src] It is a concurrency control mechanism analogous to database transactions for controlling access to shared memory in concurrent computing.[src] Transactional memory systems provide high-level abstraction as an alternative to low-level thread synchronization.[src] This abstraction allows for coordination between concurrent reads and writes of shared data in parallel systems.[src] class Account: def __init__(self, id: int, balance: float, name: str) -> None: self.id: int = id self.balance: float = balance self.name: str = name def transfer_money(from_account: Account, to_account: Account, amount: float) -> None: """ Transfer money from one account to another.[src] """ with transaction(): from_account.balance -= amount to_account.balance += amount In the code, the block defined by "transaction" is guaranteed atomicity, consistency and isolation by the underlying transactional memory implementation and is transparent to the programmer.[src] The variables within the transaction are protected from external conflicts, ensuring that either the correct amount is transferred or no action is taken at all.[src] Note that concurrency related bugs are still possible in programs that use a large number of transactions, especially in software implementations where the library provided by the language is unable to enforce correct use.[src] Bugs introduced through transactions can often be difficult to debug since breakpoints cannot be placed within a transaction.[src] Transactional memory is limited in that it requires a shared-memory abstraction.[src] Although transactional memory programs cannot produce a deadlock, programs may still suffer from a livelock or resource starvation.[src] For example, longer transactions may repeatedly revert in response to multiple smaller transactions, wasting both time and energy.[src] Michael Neuling (IBM), "What's the deal with Hardware Transactional Memory!?!" introductory talk at linux.conf.au 2014 Transactional Memory Online: Categorized bibliography about transactional memory[src]

17 sentences · 17 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Transactional memory." encyclopegia.org, 2026, https://encyclopegia.org/wiki/transactional-memory. Accessed 04 December 2026.

Chicago

"Transactional memory." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/transactional-memory.

APA

encyclopegia.org. (2026). Transactional memory. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/transactional-memory

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375864104 · 0.5 · snapshot enwiki-001375864104

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.