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>
This commit is contained in:
parent
82adbb03a4
commit
56a5e7c141
7 changed files with 122 additions and 0 deletions
3
modules/std/stm/queue.sz
Normal file
3
modules/std/stm/queue.sz
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(meta (title "(std stm queue)"))
|
||||
|
||||
@generate-docs[#:module "std stm queue"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue