2026-10-14 22:56:25 +02:00
|
|
|
(meta (title "(std stm)")
|
Transactions: a guide in Part II, and reference pages for (std stm)
Part II's section on concurrency has a new subsection, "Shared state:
atomics and transactions": when to share data instead of sending it,
locations and atomically, the rules for a transaction function, waiting
with tx-retry, a transaction as an event in a choose, tx-or-else, the
queue, map and counter, and what transactions cost. The examples use
the card game and were compiled and run.
Part III has a section on std/stm that links the four reference pages:
(std stm), and (std stm queue), (std stm map) and (std stm counter) in
a directory of their own, as (text xml) has.
🤖 Generated with [ECA](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>
2026-10-09 14:05:10 +02:00
|
|
|
(sort title))
|
2026-10-14 22:56:25 +02:00
|
|
|
|
|
|
|
|
@strong{Submodules:}
|
|
|
|
|
@itemlist{
|
|
|
|
|
@item{@link["map.html"]{@code{(std stm map)}}: a transactional hash map, @code{TMap}.}
|
|
|
|
|
@item{@link["queue.html"]{@code{(std stm queue)}}: a transactional FIFO queue, @code{TQueue}, that is also a CML event.}
|
|
|
|
|
@item{@link["counter.html"]{@code{(std stm counter)}}: a striped counter, @code{TCounter}, with few write conflicts between cores.}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@generate-docs[#:module "std stm"]
|